Class HttpEndpoint
java.lang.Object
com.sun.xml.ws.api.server.HttpEndpoint
com.sun.xml.ws.transport.http.server.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- Author:
- Jitendra Kotamraju
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends jakarta.xml.ws.EndpointReference>
TgetEndpointReference(Class<T> clazz, Element... referenceParameters) voidvoidPublishes this endpoint at a localhost's http address.voidstop()Stops the published endpointMethods inherited from class com.sun.xml.ws.api.server.HttpEndpoint
create
-
Constructor Details
-
HttpEndpoint
-
-
Method Details
-
publish
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
-
stop
public void stop()Description copied from class:HttpEndpointStops the published endpoint- Specified by:
stopin classHttpEndpoint
-
getEndpointReference
-