com.sun.xml.ws.transport.http.server
Class HttpEndpoint
java.lang.Object
com.sun.xml.ws.api.server.HttpEndpoint
com.sun.xml.ws.transport.http.server.HttpEndpoint
public final class HttpEndpoint
- extends HttpEndpoint
Hides HttpContext
so that EndpointImpl
may load even without HttpContext
.
TODO: But what's the point? If Light-weight HTTP server isn't present,
all the publish operations will fail way. Why is it better to defer
the failure, as opposed to cause the failure as earyl as possible? -KK
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpEndpoint
public HttpEndpoint(WSEndpoint endpoint,
Executor executor)
publish
public void publish(String address)
- Description copied from class:
HttpEndpoint
- Publishes this endpoint at a localhost's http address.
- Specified by:
publish
in class HttpEndpoint
- Parameters:
address
- endpoint's http address
for e.g http://localhost:8080/ctxt/pattern
publish
public void publish(Object serverContext)
stop
public void stop()
- Description copied from class:
HttpEndpoint
- Stops the published endpoint
- Specified by:
stop
in class HttpEndpoint
getEndpointReference
public <T extends javax.xml.ws.EndpointReference> T getEndpointReference(Class<T> clazz,
Element... referenceParameters)