public final class com.mongodb.UnixServerAddress extends com.mongodb.ServerAddress
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.mongodb.UnixServerAddress
super_class: com.mongodb.ServerAddress
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 154466643544866543
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc "The path cannot be null"
aload 1
invokestatic com.mongodb.assertions.Assertions.notNull:(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
invokespecial com.mongodb.ServerAddress.<init>:(Ljava/lang/String;)V
1: ldc "The path must end in .sock"
aload 1
ldc ".sock"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
invokestatic com.mongodb.assertions.Assertions.isTrueArgument:(Ljava/lang/String;Z)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/mongodb/UnixServerAddress;
0 3 1 path Ljava/lang/String;
MethodParameters:
Name Flags
path final
public java.net.InetSocketAddress getSocketAddress();
descriptor: ()Ljava/net/InetSocketAddress;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
ldc "Cannot return a InetSocketAddress from a UnixServerAddress"
invokespecial java.lang.UnsupportedOperationException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/UnixServerAddress;
public java.net.SocketAddress getUnixSocketAddress();
descriptor: ()Ljava/net/SocketAddress;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new jnr.unixsocket.UnixSocketAddress
dup
aload 0
invokevirtual com.mongodb.UnixServerAddress.getHost:()Ljava/lang/String;
invokespecial jnr.unixsocket.UnixSocketAddress.<init>:(Ljava/lang/String;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/UnixServerAddress;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.mongodb.UnixServerAddress.getHost:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/mongodb/UnixServerAddress;
}
SourceFile: "UnixServerAddress.java"
RuntimeVisibleAnnotations:
com.mongodb.annotations.Immutable()