| Modifier and Type | Class and Description |
|---|---|
| pack-priv static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final HttpConnectionFactory | |
| private final ExceptionListener | |
| private final HttpService | |
| private final InetAddress | |
| private final ThreadPoolExecutor | |
| private final int | |
| private volatile RequestListener | |
| private volatile ServerSocket | |
| private final ServerSocketFactory | |
| private final SocketConfig | |
| private final Callback | |
| private final AtomicReference | |
| private final WorkerPoolExecutor | |
| private final ThreadGroup |
| Access | Constructor and Description |
|---|---|
| public | HttpServer(final int port, final HttpService httpService, final InetAddress ifAddress, final SocketConfig socketConfig, final ServerSocketFactory serverSocketFactory, final HttpConnectionFactory<? extends DefaultBHttpServerConnection> connectionFactory, final Callback<SSLParameters> sslSetupHandler, final ExceptionListener exceptionListener)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | close(final CloseMode
How to close the receiver. closeMode)Implements org. |
| public void | |
| public void | close()
Implements java. |
| public InetAddress | |
| public int | |
| public void | |
| public void | |
| public void |
| connectionFactory | back to summary |
|---|---|
| private final HttpConnectionFactory<? extends DefaultBHttpServerConnection> connectionFactory | |
| exceptionListener | back to summary |
|---|---|
| private final ExceptionListener exceptionListener | |
| httpService | back to summary |
|---|---|
| private final HttpService httpService | |
| ifAddress | back to summary |
|---|---|
| private final InetAddress ifAddress | |
| listenerExecutorService | back to summary |
|---|---|
| private final ThreadPoolExecutor listenerExecutorService | |
| port | back to summary |
|---|---|
| private final int port | |
| requestListener | back to summary |
|---|---|
| private volatile RequestListener requestListener | |
| serverSocket | back to summary |
|---|---|
| private volatile ServerSocket serverSocket | |
| serverSocketFactory | back to summary |
|---|---|
| private final ServerSocketFactory serverSocketFactory | |
| socketConfig | back to summary |
|---|---|
| private final SocketConfig socketConfig | |
| sslSetupHandler | back to summary |
|---|---|
| private final Callback<SSLParameters> sslSetupHandler | |
| status | back to summary |
|---|---|
| private final AtomicReference<HttpServer. | |
| workerExecutorService | back to summary |
|---|---|
| private final WorkerPoolExecutor workerExecutorService | |
| workerThreads | back to summary |
|---|---|
| private final ThreadGroup workerThreads | |
| HttpServer | back to summary |
|---|---|
public HttpServer(final int port, final HttpService httpService, final InetAddress ifAddress, final SocketConfig socketConfig, final ServerSocketFactory serverSocketFactory, final HttpConnectionFactory<? extends DefaultBHttpServerConnection> connectionFactory, final Callback<SSLParameters> sslSetupHandler, final ExceptionListener exceptionListener)
| |
| awaitTermination | back to summary |
|---|---|
| public void awaitTermination(final TimeValue waitTime) throws InterruptedException | |
| close | back to summary |
|---|---|
| public void close(final CloseMode closeMode) Implements org. Doc from org. Closes this process or endpoint and releases any system resources associated with it. If the endpoint or the process is already closed then invoking this method has no effect. | |
| close | back to summary |
|---|---|
| public void close(final CloseMode closeMode, final Timeout timeout) Closes this process or endpoint and releases any system resources associated with it. If the endpoint or the process is already closed then invoking this method has no effect. | |
| close | back to summary |
|---|---|
| public void close() Implements java. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in
| |
| getInetAddress | back to summary |
|---|---|
| public InetAddress getInetAddress() | |
| getLocalPort | back to summary |
|---|---|
| public int getLocalPort() | |
| initiateShutdown | back to summary |
|---|---|
| public void initiateShutdown() | |
| start | back to summary |
|---|---|
| public void start() throws IOException | |
| stop | back to summary |
|---|---|
| public void stop() | |
| Modifier and Type | Field and Description |
|---|---|
| public static final HttpServer. | |
| public static final HttpServer. | |
| public static final HttpServer. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static HttpServer. | |
| public static HttpServer. |
| ACTIVE | back to summary |
|---|---|
| public static final HttpServer. | |
| READY | back to summary |
|---|---|
| public static final HttpServer. | |
| STOPPING | back to summary |
|---|---|
| public static final HttpServer. | |
| Status | back to summary |
|---|---|
| private Status() | |
| valueOf | back to summary |
|---|---|
| public static HttpServer. | |
| values | back to summary |
|---|---|
| public static HttpServer. | |