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
-
Method Summary
Modifier and TypeMethodDescription<T extends jakarta.xml.ws.EndpointReference>
TgetEndpointReference
(Class<T> clazz, Element... referenceParameters) void
void
Publishes this endpoint at a localhost's http address.void
stop()
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:HttpEndpoint
Publishes this endpoint at a localhost's http address.- Specified by:
publish
in classHttpEndpoint
- Parameters:
address
- endpoint's http address for e.g http://localhost:8080/ctxt/pattern
-
publish
-
stop
public void stop()Description copied from class:HttpEndpoint
Stops the published endpoint- Specified by:
stop
in classHttpEndpoint
-
getEndpointReference
-