public abstract class HttpEndpoint extends Object
WSEndpoint.
It provides a way to start the transport at a local http address and
to stop the transport.| Constructor and Description |
|---|
HttpEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
static HttpEndpoint |
create(WSEndpoint endpoint)
Factory to deploy
WSEndpoint on light-weight
http server container. |
abstract void |
publish(String address)
Publishes this endpoint at a localhost's http address.
|
abstract void |
stop()
Stops the published endpoint
|
public static HttpEndpoint create(@NotNull WSEndpoint endpoint)
WSEndpoint on light-weight
http server container.endpoint - that needs to be deployed at http serverpublic abstract void publish(@NotNull
String address)
address - endpoint's http address
for e.g http://localhost:8080/ctxt/patternpublic abstract void stop()
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.