- java.lang.Object
-
- swim.io.http.HttpEndpoint
-
public class HttpEndpoint extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected swim.io.Endpointendpointprotected HttpSettingshttpSettings
-
Constructor Summary
Constructors Constructor Description HttpEndpoint(swim.concurrent.Stage stage)HttpEndpoint(swim.concurrent.Stage stage, HttpSettings httpSettings)HttpEndpoint(swim.io.Endpoint endpoint)HttpEndpoint(swim.io.Endpoint endpoint, HttpSettings httpSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description swim.io.ServiceRefbindHttp(String address, int port, HttpService service)swim.io.ServiceRefbindHttp(String address, int port, HttpService service, HttpSettings httpSettings)swim.io.ServiceRefbindHttp(InetSocketAddress localAddress, HttpService service)swim.io.ServiceRefbindHttp(InetSocketAddress localAddress, HttpService service, HttpSettings httpSettings)swim.io.ServiceRefbindHttps(String address, int port, HttpService service)swim.io.ServiceRefbindHttps(String address, int port, HttpService service, HttpSettings httpSettings)swim.io.ServiceRefbindHttps(InetSocketAddress localAddress, HttpService service)swim.io.ServiceRefbindHttps(InetSocketAddress localAddress, HttpService service, HttpSettings httpSettings)swim.io.SocketRefconnectHttp(String address, int port, HttpClient client)swim.io.SocketRefconnectHttp(String address, int port, HttpClient client, HttpSettings httpSettings)swim.io.SocketRefconnectHttp(InetSocketAddress remoteAddress, HttpClient client)swim.io.SocketRefconnectHttp(InetSocketAddress remoteAddress, HttpClient client, HttpSettings httpSettings)swim.io.SocketRefconnectHttps(String address, int port, HttpClient client)swim.io.SocketRefconnectHttps(String address, int port, HttpClient client, HttpSettings httpSettings)swim.io.SocketRefconnectHttps(InetSocketAddress remoteAddress, HttpClient client)swim.io.SocketRefconnectHttps(InetSocketAddress remoteAddress, HttpClient client, HttpSettings httpSettings)swim.io.Endpointendpoint()HttpSettingshttpSettings()swim.concurrent.Stagestage()voidstart()voidstop()
-
-
-
Field Detail
-
endpoint
protected final swim.io.Endpoint endpoint
-
httpSettings
protected HttpSettings httpSettings
-
-
Constructor Detail
-
HttpEndpoint
public HttpEndpoint(swim.io.Endpoint endpoint, HttpSettings httpSettings)
-
HttpEndpoint
public HttpEndpoint(swim.io.Endpoint endpoint)
-
HttpEndpoint
public HttpEndpoint(swim.concurrent.Stage stage, HttpSettings httpSettings)
-
HttpEndpoint
public HttpEndpoint(swim.concurrent.Stage stage)
-
-
Method Detail
-
httpSettings
public final HttpSettings httpSettings()
-
stage
public final swim.concurrent.Stage stage()
-
endpoint
public final swim.io.Endpoint endpoint()
-
start
public void start()
-
stop
public void stop()
-
bindHttp
public swim.io.ServiceRef bindHttp(InetSocketAddress localAddress, HttpService service, HttpSettings httpSettings)
-
bindHttp
public swim.io.ServiceRef bindHttp(InetSocketAddress localAddress, HttpService service)
-
bindHttp
public swim.io.ServiceRef bindHttp(String address, int port, HttpService service, HttpSettings httpSettings)
-
bindHttp
public swim.io.ServiceRef bindHttp(String address, int port, HttpService service)
-
bindHttps
public swim.io.ServiceRef bindHttps(InetSocketAddress localAddress, HttpService service, HttpSettings httpSettings)
-
bindHttps
public swim.io.ServiceRef bindHttps(InetSocketAddress localAddress, HttpService service)
-
bindHttps
public swim.io.ServiceRef bindHttps(String address, int port, HttpService service, HttpSettings httpSettings)
-
bindHttps
public swim.io.ServiceRef bindHttps(String address, int port, HttpService service)
-
connectHttp
public swim.io.SocketRef connectHttp(InetSocketAddress remoteAddress, HttpClient client, HttpSettings httpSettings)
-
connectHttp
public swim.io.SocketRef connectHttp(InetSocketAddress remoteAddress, HttpClient client)
-
connectHttp
public swim.io.SocketRef connectHttp(String address, int port, HttpClient client, HttpSettings httpSettings)
-
connectHttp
public swim.io.SocketRef connectHttp(String address, int port, HttpClient client)
-
connectHttps
public swim.io.SocketRef connectHttps(InetSocketAddress remoteAddress, HttpClient client, HttpSettings httpSettings)
-
connectHttps
public swim.io.SocketRef connectHttps(InetSocketAddress remoteAddress, HttpClient client)
-
connectHttps
public swim.io.SocketRef connectHttps(String address, int port, HttpClient client, HttpSettings httpSettings)
-
connectHttps
public swim.io.SocketRef connectHttps(String address, int port, HttpClient client)
-
-