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
HidesHttpContextso thatEndpointImplmay load even withoutHttpContext. 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- Author:
- Jitendra Kotamraju
-
-
Constructor Summary
Constructors Constructor Description HttpEndpoint(Executor executor, HttpAdapter adapter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends javax.xml.ws.EndpointReference>
TgetEndpointReference(Class<T> clazz, Element... referenceParameters)voidpublish(Object serverContext)voidpublish(String address)Publishes this endpoint at a localhost's http address.voidstop()Stops the published endpoint-
Methods inherited from class com.sun.xml.ws.api.server.HttpEndpoint
create
-
-
-
-
Constructor Detail
-
HttpEndpoint
public HttpEndpoint(Executor executor, HttpAdapter adapter)
-
-
Method Detail
-
publish
public void publish(String address)
Description copied from class:HttpEndpointPublishes this endpoint at a localhost's http address.- Specified by:
publishin classHttpEndpoint- 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:HttpEndpointStops the published endpoint- Specified by:
stopin classHttpEndpoint
-
-