public final class com.sun.xml.internal.ws.transport.http.server.HttpEndpoint extends com.sun.xml.internal.ws.api.server.HttpEndpoint
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.sun.xml.internal.ws.transport.http.server.HttpEndpoint
super_class: com.sun.xml.internal.ws.api.server.HttpEndpoint
{
private java.lang.String address;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private com.sun.net.httpserver.HttpContext httpContext;
descriptor: Lcom/sun/net/httpserver/HttpContext;
flags: (0x0002) ACC_PRIVATE
private final com.sun.xml.internal.ws.transport.http.HttpAdapter adapter;
descriptor: Lcom/sun/xml/internal/ws/transport/http/HttpAdapter;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.Executor executor;
descriptor: Ljava/util/concurrent/Executor;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(java.util.concurrent.Executor, com.sun.xml.internal.ws.transport.http.HttpAdapter);
descriptor: (Ljava/util/concurrent/Executor;Lcom/sun/xml/internal/ws/transport/http/HttpAdapter;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial com.sun.xml.internal.ws.api.server.HttpEndpoint.<init>:()V
1: aload 0
aload 1
putfield com.sun.xml.internal.ws.transport.http.server.HttpEndpoint.executor:Ljava/util/concurrent/Executor;
2: aload 0
aload 2
putfield com.sun.xml.internal.ws.transport.http.server.HttpEndpoint.adapter:Lcom/sun/xml/internal/ws/transport/http/HttpAdapter;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/xml/internal/ws/transport/http/server/HttpEndpoint;
0 4 1 executor Ljava/util/concurrent/Executor;
0 4 2 adapter Lcom/sun/xml/internal/ws/transport/http/HttpAdapter;
MethodParameters:
Name Flags
executor
adapter
public void publish(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
aload 1
putfield com.sun.xml.internal.ws.transport.http.server.HttpEndpoint.address:Ljava/lang/String;
1: aload 0
invokestatic com.sun.xml.internal.ws.transport.http.server.ServerMgr.getInstance:()Lcom/sun/xml/internal/ws/transport/http/server/ServerMgr;
aload 1
invokevirtual com.sun.xml.internal.ws.transport.http.server.ServerMgr.createContext:(Ljava/lang/String;)Lcom/sun/net/httpserver/HttpContext;
putfield com.sun.xml.internal.ws.transport.http.server.HttpEndpoint.httpContext:Lcom/sun/net/httpserver/HttpContext;
2: aload 0
aload 0
getfield com.sun.xml.internal.ws.transport.http.server.HttpEndpoint.httpContext:Lcom/sun/net/httpserver/HttpContext;
invokevirtual com.sun.xml.internal.ws.transport.http.server.HttpEndpoint.publish:(Ljava/lang/Object;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/xml/internal/ws/transport/http/server/HttpEndpoint;
0 4 1 address Ljava/lang/String;
MethodParameters:
Name Flags
address
public void publish(java.lang.Object);
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof javax.xml.ws.spi.http.HttpContext
ifeq 3
1: aload 0
aload 1
checkcast javax.xml.ws.spi.http.HttpContext
invokevirtual com.sun.xml.internal.ws.transport.http.server.HttpEndpoint.setHandler:(Ljavax/xml/ws/spi/http/HttpContext;)V
2: return
3: StackMap locals:
StackMap stack:
aload 1
instanceof com.sun.net.httpserver.HttpContext
ifeq 7
4: aload 0
aload 1
checkcast com.sun.net.httpserver.HttpContext
putfield com.sun.xml.internal.ws.transport.http.server.HttpEndpoint.httpContext:Lcom/sun/net/httpserver/HttpContext;
5: aload 0
aload 0
getfield com.sun.xml.internal.ws.transport.http.server.HttpEndpoint.httpContext:Lcom/sun/net/httpserver/HttpContext;
invokevirtual com.sun.xml.internal.ws.transport.http.server.HttpEndpoint.setHandler:(Lcom/sun/net/httpserver/HttpContext;)V
6: return
7: StackMap locals:
StackMap stack:
new com.sun.xml.internal.ws.server.ServerRtException
dup
8: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc Lcom/sun/net/httpserver/HttpContext;
9: ldc Ljavax/xml/ws/spi/http/HttpContext;
10: invokestatic com.sun.xml.internal.ws.resources.ServerMessages.NOT_KNOW_HTTP_CONTEXT_TYPE:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/String;
iconst_0
anewarray java.lang.Object
invokespecial com.sun.xml.internal.ws.server.ServerRtException.<init>:(Ljava/lang/String;[Ljava/lang/Object;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/xml/internal/ws/transport/http/server/HttpEndpoint;
0 11 1 serverContext Ljava/lang/Object;
MethodParameters:
Name Flags
serverContext
com.sun.xml.internal.ws.transport.http.HttpAdapterList getAdapterOwner();
descriptor: ()Lcom/sun/xml/internal/ws/transport/http/HttpAdapterList;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.ws.transport.http.server.HttpEndpoint.adapter:Lcom/sun/xml/internal/ws/transport/http/HttpAdapter;
getfield com.sun.xml.internal.ws.transport.http.HttpAdapter.owner:Lcom/sun/xml/internal/ws/transport/http/HttpAdapterList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/ws/transport/http/server/HttpEndpoint;
private java.lang.String getEPRAddress();
descriptor: ()Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.ws.transport.http.server.HttpEndpoint.address:Ljava/lang/String;
ifnonnull 2
1: aload 0
getfield com.sun.xml.internal.ws.transport.http.server.HttpEndpoint.httpContext:Lcom/sun/net/httpserver/HttpContext;
invokevirtual com.sun.net.httpserver.HttpContext.getServer:()Lcom/sun/net/httpserver/HttpServer;
invokevirtual com.sun.net.httpserver.HttpServer.getAddress:()Ljava/net/InetSocketAddress;
invokevirtual java.net.InetSocketAddress.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
new java.net.URL
dup
aload 0
getfield com.sun.xml.internal.ws.transport.http.server.HttpEndpoint.address:Ljava/lang/String;
invokespecial java.net.URL.<init>:(Ljava/lang/String;)V
astore 1
start local 1 3: aload 1
invokevirtual java.net.URL.getPort:()I
ifne 10
4: new java.net.URL
dup
aload 1
invokevirtual java.net.URL.getProtocol:()Ljava/lang/String;
aload 1
invokevirtual java.net.URL.getHost:()Ljava/lang/String;
5: aload 0
getfield com.sun.xml.internal.ws.transport.http.server.HttpEndpoint.httpContext:Lcom/sun/net/httpserver/HttpContext;
invokevirtual com.sun.net.httpserver.HttpContext.getServer:()Lcom/sun/net/httpserver/HttpServer;
invokevirtual com.sun.net.httpserver.HttpServer.getAddress:()Ljava/net/InetSocketAddress;
invokevirtual java.net.InetSocketAddress.getPort:()I
aload 1
invokevirtual java.net.URL.getFile:()Ljava/lang/String;
6: invokespecial java.net.URL.<init>:(Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;)V
7: invokevirtual java.net.URL.toString:()Ljava/lang/String;
8: areturn
end local 1 9: StackMap locals:
StackMap stack: java.net.MalformedURLException
pop
10: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.ws.transport.http.server.HttpEndpoint.address:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/xml/internal/ws/transport/http/server/HttpEndpoint;
3 9 1 u Ljava/net/URL;
Exception table:
from to target type
2 8 9 Class java.net.MalformedURLException
public void stop();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.xml.internal.ws.transport.http.server.HttpEndpoint.httpContext:Lcom/sun/net/httpserver/HttpContext;
ifnull 5
1: aload 0
getfield com.sun.xml.internal.ws.transport.http.server.HttpEndpoint.address:Ljava/lang/String;
ifnonnull 4
2: aload 0
getfield com.sun.xml.internal.ws.transport.http.server.HttpEndpoint.httpContext:Lcom/sun/net/httpserver/HttpContext;
invokevirtual com.sun.net.httpserver.HttpContext.getServer:()Lcom/sun/net/httpserver/HttpServer;
aload 0
getfield com.sun.xml.internal.ws.transport.http.server.HttpEndpoint.httpContext:Lcom/sun/net/httpserver/HttpContext;
invokevirtual com.sun.net.httpserver.HttpServer.removeContext:(Lcom/sun/net/httpserver/HttpContext;)V
3: goto 5
4: StackMap locals:
StackMap stack:
invokestatic com.sun.xml.internal.ws.transport.http.server.ServerMgr.getInstance:()Lcom/sun/xml/internal/ws/transport/http/server/ServerMgr;
aload 0
getfield com.sun.xml.internal.ws.transport.http.server.HttpEndpoint.httpContext:Lcom/sun/net/httpserver/HttpContext;
invokevirtual com.sun.xml.internal.ws.transport.http.server.ServerMgr.removeContext:(Lcom/sun/net/httpserver/HttpContext;)V
5: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.xml.internal.ws.transport.http.server.HttpEndpoint.adapter:Lcom/sun/xml/internal/ws/transport/http/HttpAdapter;
invokevirtual com.sun.xml.internal.ws.transport.http.HttpAdapter.getEndpoint:()Lcom/sun/xml/internal/ws/api/server/WSEndpoint;
invokevirtual com.sun.xml.internal.ws.api.server.WSEndpoint.dispose:()V
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/xml/internal/ws/transport/http/server/HttpEndpoint;
private void setHandler(com.sun.net.httpserver.HttpContext);
descriptor: (Lcom/sun/net/httpserver/HttpContext;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
new com.sun.xml.internal.ws.transport.http.server.WSHttpHandler
dup
aload 0
getfield com.sun.xml.internal.ws.transport.http.server.HttpEndpoint.adapter:Lcom/sun/xml/internal/ws/transport/http/HttpAdapter;
aload 0
getfield com.sun.xml.internal.ws.transport.http.server.HttpEndpoint.executor:Ljava/util/concurrent/Executor;
invokespecial com.sun.xml.internal.ws.transport.http.server.WSHttpHandler.<init>:(Lcom/sun/xml/internal/ws/transport/http/HttpAdapter;Ljava/util/concurrent/Executor;)V
invokevirtual com.sun.net.httpserver.HttpContext.setHandler:(Lcom/sun/net/httpserver/HttpHandler;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/ws/transport/http/server/HttpEndpoint;
0 2 1 context Lcom/sun/net/httpserver/HttpContext;
MethodParameters:
Name Flags
context
private void setHandler(javax.xml.ws.spi.http.HttpContext);
descriptor: (Ljavax/xml/ws/spi/http/HttpContext;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
new com.sun.xml.internal.ws.transport.http.server.PortableHttpHandler
dup
aload 0
getfield com.sun.xml.internal.ws.transport.http.server.HttpEndpoint.adapter:Lcom/sun/xml/internal/ws/transport/http/HttpAdapter;
aload 0
getfield com.sun.xml.internal.ws.transport.http.server.HttpEndpoint.executor:Ljava/util/concurrent/Executor;
invokespecial com.sun.xml.internal.ws.transport.http.server.PortableHttpHandler.<init>:(Lcom/sun/xml/internal/ws/transport/http/HttpAdapter;Ljava/util/concurrent/Executor;)V
invokevirtual javax.xml.ws.spi.http.HttpContext.setHandler:(Ljavax/xml/ws/spi/http/HttpHandler;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/ws/transport/http/server/HttpEndpoint;
0 2 1 context Ljavax/xml/ws/spi/http/HttpContext;
MethodParameters:
Name Flags
context
public <T extends javax.xml.ws.EndpointReference> T getEndpointReference(java.lang.Class<T>, org.w3c.dom.Element[]);
descriptor: (Ljava/lang/Class;[Lorg/w3c/dom/Element;)Ljavax/xml/ws/EndpointReference;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.sun.xml.internal.ws.transport.http.server.HttpEndpoint.getEPRAddress:()Ljava/lang/String;
astore 3
start local 3 1: aload 1
aload 0
getfield com.sun.xml.internal.ws.transport.http.server.HttpEndpoint.adapter:Lcom/sun/xml/internal/ws/transport/http/HttpAdapter;
invokevirtual com.sun.xml.internal.ws.transport.http.HttpAdapter.getEndpoint:()Lcom/sun/xml/internal/ws/api/server/WSEndpoint;
aload 1
aload 3
new java.lang.StringBuilder
dup
aload 3
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "?wsdl"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokevirtual com.sun.xml.internal.ws.api.server.WSEndpoint.getEndpointReference:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;[Lorg/w3c/dom/Element;)Ljavax/xml/ws/EndpointReference;
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.xml.ws.EndpointReference
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/xml/internal/ws/transport/http/server/HttpEndpoint;
0 2 1 clazz Ljava/lang/Class<TT;>;
0 2 2 referenceParameters [Lorg/w3c/dom/Element;
1 2 3 eprAddress Ljava/lang/String;
Signature: <T:Ljavax/xml/ws/EndpointReference;>(Ljava/lang/Class<TT;>;[Lorg/w3c/dom/Element;)TT;
MethodParameters:
Name Flags
clazz
referenceParameters
}
SourceFile: "HttpEndpoint.java"