| Modifier and Type | Class | Description |
|---|---|---|
class |
AbstractHttpRestServerDecorator<B extends HttpRestServer> |
Abstract class for easily decorating a
HttpRestServer. |
| Modifier and Type | Interface | Description |
|---|---|---|
interface |
HttpRegistryRestServer<DESC extends HttpServerDescriptor,B extends HttpRegistryRestServer<DESC,B>> |
The
HttpRegistryRestServer provides additional functionality
for registering at and signing off from a service discovery service in order
to resolve URLs to or from other services. |
| Modifier and Type | Class | Description |
|---|---|---|
class |
AbstractHttpRegistryRestServerDecorator<DESC extends HttpServerDescriptor,B extends HttpRegistryRestServer<DESC,B>> |
Abstract class for easily decorating a
HttpRegistryRestServer. |
class |
AbstractHttpRestServerDecorator<B extends HttpRestServer> |
Abstract class for easily decorating a
HttpRestServer. |
class |
HttpRestServerImpl |
Implementation of the
HttpRestServer interface using the
HttpServer defined in the com.sun.net.httpserver
package. |
class |
HttpRestServerSingleton |
The singleton of the
HttpRestServerImpl for easy
HttpRestServer access. |
| Modifier and Type | Field | Description |
|---|---|---|
protected HttpRestServer |
AbstractHttpRestServerDecorator._server |
| Modifier and Type | Method | Description |
|---|---|---|
static HttpRestServer |
HttpRestServerSugar.close() |
See
Closable.close() |
static HttpRestServer |
HttpRestServerSugar.closeIn(int aCloseInMillis) |
See
Closable.closeIn(int) |
static HttpRestServer |
HttpRestServerSugar.closeQuietly() |
See
Closable.closeQuietly() |
static HttpRestServer |
HttpRestServerSingleton.getInstance() |
Returns the singleton's instance as fabricated by this
HttpRestServerSingleton. |
HttpRestServer |
HttpRestServerImpl.onBasicAuthRequest(org.refcodes.net.BasicAuthObserver aBasicAuthObserver) |
|
static HttpRestServer |
HttpRestServerSugar.onBasicAuthRequest(org.refcodes.net.BasicAuthObserver aObserver) |
See
BasicAuthObservable.onBasicAuthRequest(BasicAuthObserver) |
HttpRestServer |
HttpRestServerImpl.onConnectionRequest(org.refcodes.net.HttpsConnectionRequestObserver aObserver) |
|
static HttpRestServer |
HttpRestClientSugar.open(org.refcodes.net.HttpServerContext aCtx) |
See
ConnectionOpenable.open(Object) |
static HttpRestServer |
HttpRestServerSugar.open(int aPort) |
See
open(int) |
static HttpRestServer |
HttpRestServerSugar.open(int aPort,
int aMaxConnections) |
See
open(int, int) |
static HttpRestServer |
HttpRestServerSugar.open(String aSecureSocketProtocol,
org.refcodes.security.KeyStoreDescriptor aStoreDescriptor,
Integer aPort) |
|
static HttpRestServer |
HttpRestServerSugar.open(String aSecureSocketProtocol,
org.refcodes.security.KeyStoreDescriptor aStoreDescriptor,
Integer aPort,
int aMaxConnections) |
|
static HttpRestServer |
HttpRestServerSugar.open(org.refcodes.net.HttpServerContext aCtx) |
See
ConnectionOpenable.open(Object) |
static HttpRestServer |
HttpRestServerSugar.open(org.refcodes.security.KeyStoreDescriptor aStoreDescriptor,
Integer aPort) |
|
static HttpRestServer |
HttpRestServerSugar.open(org.refcodes.security.KeyStoreDescriptor aStoreDescriptor,
Integer aPort,
int aMaxConnections) |
|
default HttpRestServer |
HttpRestServer.withBaseLocator(String aBaseLocator) |
|
static HttpRestServer |
HttpRestServerSugar.withBaseLocator(String aBaseLocator) |
|
default HttpRestServer |
HttpRestServer.withClose() |
|
default HttpRestServer |
HttpRestServer.withCloseIn(int aCloseInMillis) |
|
default HttpRestServer |
HttpRestServer.withCloseQuietly() |
|
default HttpRestServer |
HttpRestServer.withDisableRequestCorrelation() |
|
default HttpRestServer |
HttpRestServer.withDisableSessionCorrelation() |
|
default HttpRestServer |
HttpRestServer.withEnableRequestCorrelation() |
|
default HttpRestServer |
HttpRestServer.withEnableSessionCorrelation() |
|
default HttpRestServer |
HttpRestServer.withHttpExceptionHandler(HttpExceptionHandler aHttpErrorHandler) |
Sets the
HttpExceptionHandler for the
HttpExceptionHandler property. |
default HttpRestServer |
HttpRestServer.withHttpExceptionHandling(HttpExceptionHandling aHttpErrorHandling) |
Sets the
HttpExceptionHandling for the HttpExceptionHandling
property. |
default HttpRestServer |
HttpRestServer.withKeyStoreDescriptor(org.refcodes.security.KeyStoreDescriptor aStoreDescriptor) |
|
default HttpRestServer |
HttpRestServer.withMaxConnections(int aMaxConnections) |
|
default HttpRestServer |
HttpRestServer.withOpen(int aPort) |
Builder method for opening the
HttpRestServer. |
default HttpRestServer |
HttpRestServer.withOpen(org.refcodes.net.HttpServerContext aConnection) |
|
default HttpRestServer |
HttpRestServer.withPort(int aPort) |
|
default HttpRestServer |
HttpRestServer.withProtocol(String aProtocol) |
|
default HttpRestServer |
HttpRestServer.withRealm(String aRealm) |
|
HttpRestServer |
HttpRestServerImpl.withRealm(String aRealm) |
|
static HttpRestServer |
HttpRestServerSugar.withRealm(String aRealm) |
|
default HttpRestServer |
HttpRestServer.withRequestCorrelation(boolean hasRequestCorrelation) |
|
default HttpRestServer |
HttpRestServer.withScheme(org.refcodes.data.Scheme aScheme) |
|
default HttpRestServer |
HttpRestServer.withSessionCorrelation(boolean hasSessionCorrelation) |
| Constructor | Description |
|---|---|
AbstractHttpRegistryRestServerDecorator(HttpRestServer aServer) |
Decorates the given
HttpRestServer with discovery functionality. |
AbstractHttpRestServerDecorator(HttpRestServer aServer) |
Decorates the given
HttpRestServer with additional functionality. |
Copyright © 2018. All rights reserved.