public class org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter extends org.springframework.remoting.jaxws.AbstractJaxWsServiceExporter
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter
super_class: org.springframework.remoting.jaxws.AbstractJaxWsServiceExporter
{
protected final org.apache.commons.logging.Log logger;
descriptor: Lorg/apache/commons/logging/Log;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private com.sun.net.httpserver.HttpServer server;
descriptor: Lcom/sun/net/httpserver/HttpServer;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private int port;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.String hostname;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private int backlog;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int shutdownDelay;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private java.lang.String basePath;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.util.List<com.sun.net.httpserver.Filter> filters;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lcom/sun/net/httpserver/Filter;>;
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private com.sun.net.httpserver.Authenticator authenticator;
descriptor: Lcom/sun/net/httpserver/Authenticator;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
org.springframework.lang.Nullable()
private boolean localServer;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.remoting.jaxws.AbstractJaxWsServiceExporter.<init>:()V
1: aload 0
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokestatic org.apache.commons.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
putfield org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.logger:Lorg/apache/commons/logging/Log;
2: aload 0
sipush 8080
putfield org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.port:I
3: aload 0
iconst_m1
putfield org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.backlog:I
4: aload 0
iconst_0
putfield org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.shutdownDelay:I
5: aload 0
ldc "/"
putfield org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.basePath:Ljava/lang/String;
6: aload 0
iconst_0
putfield org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.localServer:Z
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/springframework/remoting/jaxws/SimpleHttpServerJaxWsServiceExporter;
public void setServer(com.sun.net.httpserver.HttpServer);
descriptor: (Lcom/sun/net/httpserver/HttpServer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.server:Lcom/sun/net/httpserver/HttpServer;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/remoting/jaxws/SimpleHttpServerJaxWsServiceExporter;
0 2 1 server Lcom/sun/net/httpserver/HttpServer;
MethodParameters:
Name Flags
server
public void setPort(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.port:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/remoting/jaxws/SimpleHttpServerJaxWsServiceExporter;
0 2 1 port I
MethodParameters:
Name Flags
port
public void setHostname(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.hostname:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/remoting/jaxws/SimpleHttpServerJaxWsServiceExporter;
0 2 1 hostname Ljava/lang/String;
MethodParameters:
Name Flags
hostname
public void setBacklog(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.backlog:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/remoting/jaxws/SimpleHttpServerJaxWsServiceExporter;
0 2 1 backlog I
MethodParameters:
Name Flags
backlog
public void setShutdownDelay(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.shutdownDelay:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/remoting/jaxws/SimpleHttpServerJaxWsServiceExporter;
0 2 1 shutdownDelay I
MethodParameters:
Name Flags
shutdownDelay
public void setBasePath(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.basePath:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/remoting/jaxws/SimpleHttpServerJaxWsServiceExporter;
0 2 1 basePath Ljava/lang/String;
MethodParameters:
Name Flags
basePath
public void setFilters(java.util.List<com.sun.net.httpserver.Filter>);
descriptor: (Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.filters:Ljava/util/List;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/remoting/jaxws/SimpleHttpServerJaxWsServiceExporter;
0 2 1 filters Ljava/util/List<Lcom/sun/net/httpserver/Filter;>;
Signature: (Ljava/util/List<Lcom/sun/net/httpserver/Filter;>;)V
MethodParameters:
Name Flags
filters
public void setAuthenticator(com.sun.net.httpserver.Authenticator);
descriptor: (Lcom/sun/net/httpserver/Authenticator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.authenticator:Lcom/sun/net/httpserver/Authenticator;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/remoting/jaxws/SimpleHttpServerJaxWsServiceExporter;
0 2 1 authenticator Lcom/sun/net/httpserver/Authenticator;
MethodParameters:
Name Flags
authenticator
public void afterPropertiesSet();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
getfield org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.server:Lcom/sun/net/httpserver/HttpServer;
ifnonnull 11
1: aload 0
getfield org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.hostname:Ljava/lang/String;
ifnull 3
2: new java.net.InetSocketAddress
dup
aload 0
getfield org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.hostname:Ljava/lang/String;
aload 0
getfield org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.port:I
invokespecial java.net.InetSocketAddress.<init>:(Ljava/lang/String;I)V
goto 4
StackMap locals:
StackMap stack:
3: new java.net.InetSocketAddress
dup
aload 0
getfield org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.port:I
invokespecial java.net.InetSocketAddress.<init>:(I)V
4: StackMap locals:
StackMap stack: java.net.InetSocketAddress
astore 1
start local 1 5: aload 1
aload 0
getfield org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.backlog:I
invokestatic com.sun.net.httpserver.HttpServer.create:(Ljava/net/InetSocketAddress;I)Lcom/sun/net/httpserver/HttpServer;
astore 2
start local 2 6: aload 0
getfield org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.logger:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isInfoEnabled:()Z
ifeq 8
7: aload 0
getfield org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.logger:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Starting HttpServer at address "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.commons.logging.Log.info:(Ljava/lang/Object;)V
8: StackMap locals: java.net.InetSocketAddress com.sun.net.httpserver.HttpServer
StackMap stack:
aload 2
invokevirtual com.sun.net.httpserver.HttpServer.start:()V
9: aload 0
aload 2
putfield org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.server:Lcom/sun/net/httpserver/HttpServer;
10: aload 0
iconst_1
putfield org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.localServer:Z
end local 2 end local 1 11: StackMap locals:
StackMap stack:
aload 0
invokespecial org.springframework.remoting.jaxws.AbstractJaxWsServiceExporter.afterPropertiesSet:()V
12: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/springframework/remoting/jaxws/SimpleHttpServerJaxWsServiceExporter;
5 11 1 address Ljava/net/InetSocketAddress;
6 11 2 server Lcom/sun/net/httpserver/HttpServer;
Exceptions:
throws java.lang.Exception
protected void publishEndpoint(javax.xml.ws.Endpoint, javax.jws.WebService);
descriptor: (Ljavax/xml/ws/Endpoint;Ljavax/jws/WebService;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
aload 1
aload 2
invokeinterface javax.jws.WebService.serviceName:()Ljava/lang/String;
invokevirtual org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.buildHttpContext:(Ljavax/xml/ws/Endpoint;Ljava/lang/String;)Lcom/sun/net/httpserver/HttpContext;
invokevirtual javax.xml.ws.Endpoint.publish:(Ljava/lang/Object;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/remoting/jaxws/SimpleHttpServerJaxWsServiceExporter;
0 2 1 endpoint Ljavax/xml/ws/Endpoint;
0 2 2 annotation Ljavax/jws/WebService;
MethodParameters:
Name Flags
endpoint
annotation
protected void publishEndpoint(javax.xml.ws.Endpoint, javax.xml.ws.WebServiceProvider);
descriptor: (Ljavax/xml/ws/Endpoint;Ljavax/xml/ws/WebServiceProvider;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 0
aload 1
aload 2
invokeinterface javax.xml.ws.WebServiceProvider.serviceName:()Ljava/lang/String;
invokevirtual org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.buildHttpContext:(Ljavax/xml/ws/Endpoint;Ljava/lang/String;)Lcom/sun/net/httpserver/HttpContext;
invokevirtual javax.xml.ws.Endpoint.publish:(Ljava/lang/Object;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/springframework/remoting/jaxws/SimpleHttpServerJaxWsServiceExporter;
0 2 1 endpoint Ljavax/xml/ws/Endpoint;
0 2 2 annotation Ljavax/xml/ws/WebServiceProvider;
MethodParameters:
Name Flags
endpoint
annotation
protected com.sun.net.httpserver.HttpContext buildHttpContext(javax.xml.ws.Endpoint, java.lang.String);
descriptor: (Ljavax/xml/ws/Endpoint;Ljava/lang/String;)Lcom/sun/net/httpserver/HttpContext;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.server:Lcom/sun/net/httpserver/HttpServer;
ifnull 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "No HttpServer available"
invokestatic org.springframework.util.Assert.state:(ZLjava/lang/String;)V
3: aload 0
aload 1
aload 2
invokevirtual org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.calculateEndpointPath:(Ljavax/xml/ws/Endpoint;Ljava/lang/String;)Ljava/lang/String;
astore 3
start local 3 4: aload 0
getfield org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.server:Lcom/sun/net/httpserver/HttpServer;
aload 3
invokevirtual com.sun.net.httpserver.HttpServer.createContext:(Ljava/lang/String;)Lcom/sun/net/httpserver/HttpContext;
astore 4
start local 4 5: aload 0
getfield org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.filters:Ljava/util/List;
ifnull 7
6: aload 4
invokevirtual com.sun.net.httpserver.HttpContext.getFilters:()Ljava/util/List;
aload 0
getfield org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.filters:Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
7: StackMap locals: java.lang.String com.sun.net.httpserver.HttpContext
StackMap stack:
aload 0
getfield org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.authenticator:Lcom/sun/net/httpserver/Authenticator;
ifnull 9
8: aload 4
aload 0
getfield org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.authenticator:Lcom/sun/net/httpserver/Authenticator;
invokevirtual com.sun.net.httpserver.HttpContext.setAuthenticator:(Lcom/sun/net/httpserver/Authenticator;)Lcom/sun/net/httpserver/Authenticator;
pop
9: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/springframework/remoting/jaxws/SimpleHttpServerJaxWsServiceExporter;
0 10 1 endpoint Ljavax/xml/ws/Endpoint;
0 10 2 serviceName Ljava/lang/String;
4 10 3 fullPath Ljava/lang/String;
5 10 4 httpContext Lcom/sun/net/httpserver/HttpContext;
MethodParameters:
Name Flags
endpoint
serviceName
protected java.lang.String calculateEndpointPath(javax.xml.ws.Endpoint, java.lang.String);
descriptor: (Ljavax/xml/ws/Endpoint;Ljava/lang/String;)Ljava/lang/String;
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new java.lang.StringBuilder
dup
aload 0
getfield org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.basePath:Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/springframework/remoting/jaxws/SimpleHttpServerJaxWsServiceExporter;
0 1 1 endpoint Ljavax/xml/ws/Endpoint;
0 1 2 serviceName Ljava/lang/String;
MethodParameters:
Name Flags
endpoint
serviceName
public void destroy();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.springframework.remoting.jaxws.AbstractJaxWsServiceExporter.destroy:()V
1: aload 0
getfield org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.server:Lcom/sun/net/httpserver/HttpServer;
ifnull 4
aload 0
getfield org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.localServer:Z
ifeq 4
2: aload 0
getfield org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.logger:Lorg/apache/commons/logging/Log;
ldc "Stopping HttpServer"
invokeinterface org.apache.commons.logging.Log.info:(Ljava/lang/Object;)V
3: aload 0
getfield org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.server:Lcom/sun/net/httpserver/HttpServer;
aload 0
getfield org.springframework.remoting.jaxws.SimpleHttpServerJaxWsServiceExporter.shutdownDelay:I
invokevirtual com.sun.net.httpserver.HttpServer.stop:(I)V
4: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/springframework/remoting/jaxws/SimpleHttpServerJaxWsServiceExporter;
}
SourceFile: "SimpleHttpServerJaxWsServiceExporter.java"
RuntimeVisibleAnnotations:
java.lang.Deprecated()
RuntimeInvisibleAnnotations:
org.springframework.lang.UsesSunHttpServer()