org.refcodes.component.Closable, org.refcodes.component.Closable.CloseBuilder<B>, org.refcodes.component.ConnectionComponent<B>, org.refcodes.component.ConnectionComponent.ConnectionComponentBuilder<org.refcodes.net.HttpServerContext,HttpRestServer>, org.refcodes.component.ConnectionOpenable<B>, org.refcodes.component.ConnectionOpenable.ConnectionOpenBuilder<RestEndpoint,RestServer>, org.refcodes.component.ConnectionStatusAccessor, org.refcodes.component.LinkComponent, org.refcodes.component.Openable, org.refcodes.io.MaxConnectionsAccessor, org.refcodes.io.MaxConnectionsAccessor.MaxConnectionsBuilder<B>, org.refcodes.io.MaxConnectionsAccessor.MaxConnectionsMutator, org.refcodes.io.MaxConnectionsAccessor.MaxConnectionsProperty, org.refcodes.mixin.PortAccessor, org.refcodes.mixin.PortAccessor.PortBuilder<B>, org.refcodes.mixin.PortAccessor.PortMutator, org.refcodes.mixin.PortAccessor.PortProperty, org.refcodes.net.BaseLocatorAccessor, org.refcodes.net.BaseLocatorAccessor.BaseLocatorBuilder<B>, org.refcodes.net.BaseLocatorAccessor.BaseLocatorMutator, org.refcodes.net.BaseLocatorAccessor.BaseLocatorProperty, org.refcodes.net.BasicAuthObservable<B>, org.refcodes.net.HttpsConnectionRequestObservable<B>, org.refcodes.net.MediaTypeFactoryLookup, org.refcodes.net.MediaTypeFactoryLookup.MutableMediaTypeFactoryLookup, org.refcodes.net.RealmAccessor, org.refcodes.net.RealmAccessor.RealmBuilder<B>, org.refcodes.net.RealmAccessor.RealmMutator, org.refcodes.net.RealmAccessor.RealmProperty, org.refcodes.net.SchemeAccessor, org.refcodes.net.SchemeAccessor.SchemeBuilder<B>, org.refcodes.net.SchemeAccessor.SchemeMutator, org.refcodes.net.SchemeAccessor.SchemeProperty, org.refcodes.observer.Observable<B>, org.refcodes.observer.Observers<RestEndpoint,RestServer>, HttpExceptionHandlerAccessor, HttpExceptionHandlerAccessor.HttpExceptionHandlerBuilder<B>, HttpExceptionHandlerAccessor.HttpExceptionHandlerMutator, HttpExceptionHandlerAccessor.HttpExceptionHandlerProperty, HttpExceptionHandlingAccessor, HttpExceptionHandlingAccessor.HttpExceptionHandlingBuilder<B>, HttpExceptionHandlingAccessor.HttpExceptionHandlingMutator, HttpExceptionHandlingAccessor.HttpExceptionHandlingProperty, HttpRestServer, RestServer, org.refcodes.runtime.RequestCorrelation<B>, org.refcodes.runtime.SessionCorrelation<B>, org.refcodes.security.KeyStoreDescriptorAccessor, org.refcodes.security.KeyStoreDescriptorAccessor.KeyStoreDescriptorBuilder<B>, org.refcodes.security.KeyStoreDescriptorAccessor.KeyStoreDescriptorMutator, org.refcodes.security.KeyStoreDescriptorAccessor.KeyStoreDescriptorPropertyAbstractHttpRegistryRestServerDecoratorpublic abstract class AbstractHttpRestServerDecorator<B extends HttpRestServer> extends Object implements HttpRestServer
HttpRestServer.org.refcodes.net.BaseLocatorAccessor.BaseLocatorBuilder<B extends org.refcodes.net.BaseLocatorAccessor.BaseLocatorBuilder<B>>, org.refcodes.net.BaseLocatorAccessor.BaseLocatorMutator, org.refcodes.net.BaseLocatorAccessor.BaseLocatorPropertyorg.refcodes.component.Closable.CloseAutomaton, org.refcodes.component.Closable.CloseBuilder<B extends org.refcodes.component.Closable.CloseBuilder<B>>org.refcodes.component.ConnectionComponent.ConnectionAutomaton<CON extends Object>, org.refcodes.component.ConnectionComponent.ConnectionComponentBuilder<CON extends Object,B extends org.refcodes.component.ConnectionComponent.ConnectionComponentBuilder<CON,B>>org.refcodes.component.ConnectionOpenable.ConnectionOpenAutomaton<CON extends Object>, org.refcodes.component.ConnectionOpenable.ConnectionOpenBuilder<CON extends Object,B extends org.refcodes.component.ConnectionOpenable.ConnectionOpenBuilder<CON,B>>org.refcodes.component.ConnectionStatusAccessor.ConnectionStatusMutator, org.refcodes.component.ConnectionStatusAccessor.ConnectionStatusPropertyHttpExceptionHandlerAccessor.HttpExceptionHandlerBuilder<B extends HttpExceptionHandlerAccessor.HttpExceptionHandlerBuilder<B>>, HttpExceptionHandlerAccessor.HttpExceptionHandlerMutator, HttpExceptionHandlerAccessor.HttpExceptionHandlerPropertyHttpExceptionHandlingAccessor.HttpExceptionHandlingBuilder<B extends HttpExceptionHandlingAccessor.HttpExceptionHandlingBuilder<B>>, HttpExceptionHandlingAccessor.HttpExceptionHandlingMutator, HttpExceptionHandlingAccessor.HttpExceptionHandlingPropertyorg.refcodes.security.KeyStoreDescriptorAccessor.KeyStoreDescriptorBuilder<B extends org.refcodes.security.KeyStoreDescriptorAccessor.KeyStoreDescriptorBuilder<B>>, org.refcodes.security.KeyStoreDescriptorAccessor.KeyStoreDescriptorMutator, org.refcodes.security.KeyStoreDescriptorAccessor.KeyStoreDescriptorPropertyorg.refcodes.component.LinkComponent.LinkAutomaton, org.refcodes.component.LinkComponent.LinkComponentBuilder<B extends org.refcodes.component.LinkComponent.LinkComponentBuilder<B>>org.refcodes.io.MaxConnectionsAccessor.MaxConnectionsBuilder<B extends org.refcodes.io.MaxConnectionsAccessor.MaxConnectionsBuilder<B>>, org.refcodes.io.MaxConnectionsAccessor.MaxConnectionsMutator, org.refcodes.io.MaxConnectionsAccessor.MaxConnectionsPropertyorg.refcodes.net.MediaTypeFactoryLookup.MutableMediaTypeFactoryLookuporg.refcodes.component.Openable.OpenAutomaton, org.refcodes.component.Openable.OpenBuilder<B extends org.refcodes.component.Openable.OpenBuilder<B>>org.refcodes.mixin.PortAccessor.PortBuilder<B extends org.refcodes.mixin.PortAccessor.PortBuilder<B>>, org.refcodes.mixin.PortAccessor.PortMutator, org.refcodes.mixin.PortAccessor.PortProperty| Modifier and Type | Field | Description |
|---|---|---|
protected HttpRestServer |
_server |
| Constructor | Description |
|---|---|
AbstractHttpRestServerDecorator(HttpRestServer aServer) |
Decorates the given
HttpRestServer with additional functionality. |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
addMediaTypeFactory(org.refcodes.net.MediaTypeFactory aMediaTypeFactory) |
|
void |
close() |
|
void |
closeIn(int aCloseInMillis) |
|
void |
closeQuietly() |
|
void |
closeUnchecked() |
|
void |
disableRequestCorrelation() |
|
void |
disableSessionCorrelation() |
|
void |
enableRequestCorrelation() |
|
void |
enableSessionCorrelation() |
|
String |
getBaseLocator() |
|
org.refcodes.net.MediaType[] |
getFactoryMediaTypes() |
|
org.refcodes.security.KeyStoreDescriptor |
getKeyStoreDescriptor() |
|
int |
getMaxConnections() |
|
int |
getPort() |
|
String |
getRealm() |
|
org.refcodes.data.Scheme |
getScheme() |
|
boolean |
hasMediaTypeFactory(org.refcodes.net.MediaType aMediaType) |
|
boolean |
hasObserverSubscription(RestEndpoint aObserver) |
|
boolean |
hasRequestCorrelation() |
|
boolean |
hasSessionCorrelation() |
|
Iterator<RestEndpoint> |
observers() |
|
B |
onBasicAuthRequest(org.refcodes.net.BasicAuthObserver aObserver) |
|
B |
onConnectionRequest(org.refcodes.net.HttpsConnectionRequestObserver aObserver) |
|
RestEndpointBuilder |
onDelete(String aLocatorPattern,
RestRequestObserver aRequestObserver) |
Even more convenient: Everything done here can also be done using
RestServer.onRequest(HttpMethod, String, RestRequestObserver):
Registers a RestRequestObserver with the given Locator-Pattern to
incoming DELETE methods. |
RestEndpointBuilder |
onGet(String aLocatorPattern,
RestRequestObserver aRequestObserver) |
Even more convenient: Everything done here can also be done using
RestServer.onRequest(HttpMethod, String, RestRequestObserver):
Registers a RestRequestObserver with the given Locator-Pattern to
incoming GET methods. |
RestEndpointBuilder |
onPost(String aLocatorPattern,
RestRequestObserver aRequestObserver) |
Even more convenient: Everything done here can also be done using
RestServer.onRequest(HttpMethod, String, RestRequestObserver):
Registers a RestRequestObserver with the given Locator-Pattern to
incoming POST methods. |
RestEndpointBuilder |
onPut(String aLocatorPattern,
RestRequestObserver aRequestObserver) |
Even more convenient: Everything done here can also be done using
RestServer.onRequest(HttpMethod, String, RestRequestObserver):
Registers a RestRequestObserver with the given Locator-Pattern to
incoming PUT methods. |
RestEndpointBuilder |
onRequest(String aLocatorPattern,
RestRequestObserver aRequestObserver) |
Registers a pre-configured
RestEndpoint, triggerd by any HTTP
method, and returns its instance. |
RestEndpointBuilder |
onRequest(org.refcodes.net.HttpMethod aHttpMethod,
String aLocatorPattern,
RestRequestObserver aRequestObserver) |
Registers a pre-configured
RestEndpoint with the least required
attributes and returns its instance. |
boolean |
onRequest(RestEndpoint aRestEndpoint) |
For the sake of unified naming, this method just delegates to
Observable.subscribeObserver(Object). |
void |
open(int aPort) |
Opens the HTTP sever connection (socket) at the given port
|
void |
open(int aPort,
int aMaxConnections) |
Opens the HTTP sever connection (socket) at the given port allowing the
given number of maximum connections at the same time.
|
void |
open(String aProtocol,
org.refcodes.security.KeyStoreDescriptor aStoreDescriptor,
int aPort) |
Same as
HttpRestServer.open(String, KeyStoreDescriptor, int, int) but:
The number of maximum connections at the same time is decided upon by
the implementations's default value. |
void |
open(String aProtocol,
org.refcodes.security.KeyStoreDescriptor aStoreDescriptor,
int aPort,
int aMaxConnections) |
Opens the HTTPS sever connection (socket) at the given port allowing the
given number of maximum connections at the same time using the provided
HTTPS configuration parameters.
|
void |
openUnchecked(org.refcodes.net.HttpServerContext aConnection) |
|
void |
setBaseLocator(String aBaseLocator) |
|
void |
setKeyStoreDescriptor(org.refcodes.security.KeyStoreDescriptor aStoreDescriptor) |
|
void |
setMaxConnections(int aMaxConnections) |
|
void |
setPort(int aPort) |
|
void |
setProtocol(String aProtocol) |
|
void |
setRealm(String aRealm) |
|
void |
setRequestCorrelation(boolean hasRequestCorrelation) |
|
void |
setScheme(org.refcodes.data.Scheme aScheme) |
|
void |
setSessionCorrelation(boolean hasSessionCorrelation) |
|
boolean |
subscribeObserver(RestEndpoint aObserver) |
|
org.refcodes.net.MediaTypeFactory |
toMediaTypeFactory(org.refcodes.net.MediaType aMediaType) |
|
String |
toProtocol() |
|
boolean |
unsubscribeObserver(RestEndpoint aObserver) |
|
B |
withBaseLocator(String aBaseLocator) |
|
B |
withClose() |
|
B |
withCloseIn(int aCloseInMillis) |
|
B |
withCloseQuietly() |
|
B |
withCloseUnchecked() |
|
B |
withDisableRequestCorrelation() |
|
B |
withDisableSessionCorrelation() |
|
B |
withEnableRequestCorrelation() |
|
B |
withEnableSessionCorrelation() |
|
B |
withOpen(org.refcodes.net.HttpServerContext aConnection) |
|
B |
withOpenUnchecked(org.refcodes.net.HttpServerContext aConnection) |
|
B |
withRealm(String aRealm) |
|
B |
withRequestCorrelation(boolean hasRequestCorrelation) |
|
B |
withSessionCorrelation(boolean hasSessionCorrelation) |
getConnectionStatus, isConnectionOpenedgetHttpExceptionHandlerwithOnHttpExceptiononHttpException, setHttpExceptionHandlergetHttpExceptionHandlingsetHttpExceptionHandlingopen, open, open, open, open, open, open, open, open, withHttpExceptionHandler, withHttpExceptionHandling, withKeyStoreDescriptor, withMaxConnections, withOpen, withPort, withProtocol, withSchemeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdisableObservers, enableObservers, isObserversActive, setObserversActivewithDisableObservers, withEnableObservers, withObserversActiveprotected HttpRestServer _server
public AbstractHttpRestServerDecorator(HttpRestServer aServer)
HttpRestServer with additional functionality.aServer - The HttpRestServer to be decorated.public int getPort()
getPort in interface org.refcodes.mixin.PortAccessorpublic void setPort(int aPort)
setPort in interface org.refcodes.mixin.PortAccessor.PortMutatorpublic org.refcodes.data.Scheme getScheme()
getScheme in interface org.refcodes.net.SchemeAccessorpublic void setScheme(org.refcodes.data.Scheme aScheme)
setScheme in interface org.refcodes.net.SchemeAccessor.SchemeMutatorpublic boolean addMediaTypeFactory(org.refcodes.net.MediaTypeFactory aMediaTypeFactory)
addMediaTypeFactory in interface org.refcodes.net.MediaTypeFactoryLookup.MutableMediaTypeFactoryLookuppublic void close()
throws org.refcodes.component.CloseException
close in interface org.refcodes.component.Closableorg.refcodes.component.CloseExceptionpublic void closeIn(int aCloseInMillis)
closeIn in interface org.refcodes.component.Closablepublic void closeQuietly()
closeQuietly in interface org.refcodes.component.Closablepublic void closeUnchecked()
closeUnchecked in interface org.refcodes.component.Closablepublic void disableRequestCorrelation()
disableRequestCorrelation in interface org.refcodes.runtime.RequestCorrelation<B extends HttpRestServer>public void disableSessionCorrelation()
disableSessionCorrelation in interface org.refcodes.runtime.SessionCorrelation<B extends HttpRestServer>public void enableRequestCorrelation()
enableRequestCorrelation in interface org.refcodes.runtime.RequestCorrelation<B extends HttpRestServer>public void enableSessionCorrelation()
enableSessionCorrelation in interface org.refcodes.runtime.SessionCorrelation<B extends HttpRestServer>public String getBaseLocator()
getBaseLocator in interface org.refcodes.net.BaseLocatorAccessorpublic org.refcodes.net.MediaType[] getFactoryMediaTypes()
getFactoryMediaTypes in interface org.refcodes.net.MediaTypeFactoryLookuppublic String getRealm()
getRealm in interface org.refcodes.net.RealmAccessorpublic boolean hasMediaTypeFactory(org.refcodes.net.MediaType aMediaType)
hasMediaTypeFactory in interface org.refcodes.net.MediaTypeFactoryLookuppublic boolean hasObserverSubscription(RestEndpoint aObserver)
hasObserverSubscription in interface org.refcodes.observer.Observable<B extends HttpRestServer>public boolean hasRequestCorrelation()
hasRequestCorrelation in interface org.refcodes.runtime.RequestCorrelation<B extends HttpRestServer>public boolean hasSessionCorrelation()
hasSessionCorrelation in interface org.refcodes.runtime.SessionCorrelation<B extends HttpRestServer>public B onBasicAuthRequest(org.refcodes.net.BasicAuthObserver aObserver)
onBasicAuthRequest in interface org.refcodes.net.BasicAuthObservable<B extends HttpRestServer>public B onConnectionRequest(org.refcodes.net.HttpsConnectionRequestObserver aObserver)
onConnectionRequest in interface org.refcodes.net.HttpsConnectionRequestObservable<B extends HttpRestServer>public RestEndpointBuilder onDelete(String aLocatorPattern, RestRequestObserver aRequestObserver)
RestServer.onRequest(HttpMethod, String, RestRequestObserver):
Registers a RestRequestObserver with the given Locator-Pattern to
incoming DELETE methods.
Attention: Invoke Openable.open() to activate this
endpoint!onDelete in interface RestServeraLocatorPattern - The local Locator-Pattern to which this
RestEndpoint is bound.aRequestObserver - The listener processing a request targeted at
this RestEndpoint.RestEndpoint which acts as handle to
unsubscribe the RestEndpoint via
Observable.unsubscribeObserver(Object).public RestEndpointBuilder onGet(String aLocatorPattern, RestRequestObserver aRequestObserver)
RestServer.onRequest(HttpMethod, String, RestRequestObserver):
Registers a RestRequestObserver with the given Locator-Pattern to
incoming GET methods.
Attention: Invoke Openable.open() to activate this
endpoint!onGet in interface RestServeraLocatorPattern - The local Locator-Pattern to which this
RestEndpoint is bound.aRequestObserver - The listener processing a request targeted at
this RestEndpoint.RestEndpoint which acts as handle to
unsubscribe the RestEndpoint via
Observable.unsubscribeObserver(Object).public RestEndpointBuilder onPost(String aLocatorPattern, RestRequestObserver aRequestObserver)
RestServer.onRequest(HttpMethod, String, RestRequestObserver):
Registers a RestRequestObserver with the given Locator-Pattern to
incoming POST methods.
Attention: Invoke Openable.open() to activate this
endpoint!onPost in interface RestServeraLocatorPattern - The local Locator-Pattern to which this
RestEndpoint is bound.aRequestObserver - The listener processing a request targeted at
this RestEndpoint.RestEndpoint which acts as handle to
unsubscribe the RestEndpoint via
Observable.unsubscribeObserver(Object).public RestEndpointBuilder onPut(String aLocatorPattern, RestRequestObserver aRequestObserver)
RestServer.onRequest(HttpMethod, String, RestRequestObserver):
Registers a RestRequestObserver with the given Locator-Pattern to
incoming PUT methods.
Attention: Invoke Openable.open() to activate this
endpoint!onPut in interface RestServeraLocatorPattern - The local Locator-Pattern to which this
RestEndpoint is bound.aRequestObserver - The listener processing a request targeted at
this RestEndpoint.RestEndpoint which acts as handle to
unsubscribe the RestEndpoint via
Observable.unsubscribeObserver(Object).public RestEndpointBuilder onRequest(org.refcodes.net.HttpMethod aHttpMethod, String aLocatorPattern, RestRequestObserver aRequestObserver)
RestEndpoint with the least required
attributes and returns its instance. To unsubscribe via
Observable.unsubscribeObserver(Object), use the returned instance.
Attention: Invoke Openable.open() to activate this
endpoint!onRequest in interface RestServeraHttpMethod - The HTTP-Method to which this RestEndpoint is
bound. A value of null means that any HTTP-Method may
trigger this RestEndpoint.aLocatorPattern - The local Locator-Pattern to which this
RestEndpoint is bound. A value of null means
that any locator may trigger this RestEndpoint.aRequestObserver - The listener processing a request targeted at
this RestEndpoint.RestEndpoint which acts as handle to
unsubscribe the RestEndpoint via
Observable.unsubscribeObserver(Object).public boolean onRequest(RestEndpoint aRestEndpoint)
Observable.subscribeObserver(Object).onRequest in interface RestServeraRestEndpoint - the rest endpointpublic RestEndpointBuilder onRequest(String aLocatorPattern, RestRequestObserver aRequestObserver)
RestEndpoint, triggerd by any HTTP
method, and returns its instance. To unsubscribe via
Observable.unsubscribeObserver(Object), use the returned instance.
Attention: Invoke Openable.open() to activate this
endpoint!onRequest in interface RestServeraLocatorPattern - The local Locator-Pattern to which this
RestEndpoint is bound.aRequestObserver - The listener processing a request targeted at
this RestEndpoint.RestEndpoint which acts as handle to
unsubscribe the RestEndpoint via
Observable.unsubscribeObserver(Object).public void open(int aPort)
throws org.refcodes.component.OpenException
open in interface HttpRestServeraPort - The port on which to listen for requests.org.refcodes.component.OpenException - thrown in case something went wrong such as the
port being already in use.public void open(int aPort,
int aMaxConnections)
throws org.refcodes.component.OpenException
open in interface HttpRestServeraPort - The port on which to listen for requests.aMaxConnections - The number of maximum connections at the same
time.org.refcodes.component.OpenException - thrown in case something went wrong such as the
port being already in use.public void open(String aProtocol, org.refcodes.security.KeyStoreDescriptor aStoreDescriptor, int aPort) throws org.refcodes.component.OpenException
HttpRestServer.open(String, KeyStoreDescriptor, int, int) but:
open in interface HttpRestServeraProtocol - The protocol to use, e.g. "TLS".aStoreDescriptor - The store descriptor describing your
KeyStore required for HTTPS.aPort - The port on which to listen for requests.org.refcodes.component.OpenException - thrown in case something went wrong such as the
port being already in use.public void open(String aProtocol, org.refcodes.security.KeyStoreDescriptor aStoreDescriptor, int aPort, int aMaxConnections) throws org.refcodes.component.OpenException
open in interface HttpRestServeraProtocol - The protocol to use, e.g. "TLS".aStoreDescriptor - The store descriptor describing your
KeyStore required for HTTPS.aPort - The port on which to listen for requests.aMaxConnections - The number of maximum connections at the same
time.org.refcodes.component.OpenException - thrown in case something went wrong such as the
port being already in use.public void openUnchecked(org.refcodes.net.HttpServerContext aConnection)
openUnchecked in interface org.refcodes.component.ConnectionOpenable<B extends HttpRestServer>public void setBaseLocator(String aBaseLocator)
setBaseLocator in interface org.refcodes.net.BaseLocatorAccessor.BaseLocatorMutatorpublic void setRealm(String aRealm)
setRealm in interface org.refcodes.net.RealmAccessor.RealmMutatorpublic void setRequestCorrelation(boolean hasRequestCorrelation)
setRequestCorrelation in interface org.refcodes.runtime.RequestCorrelation<B extends HttpRestServer>public void setSessionCorrelation(boolean hasSessionCorrelation)
setSessionCorrelation in interface org.refcodes.runtime.SessionCorrelation<B extends HttpRestServer>public boolean subscribeObserver(RestEndpoint aObserver)
subscribeObserver in interface org.refcodes.observer.Observable<B extends HttpRestServer>public org.refcodes.net.MediaTypeFactory toMediaTypeFactory(org.refcodes.net.MediaType aMediaType)
toMediaTypeFactory in interface org.refcodes.net.MediaTypeFactoryLookuppublic boolean unsubscribeObserver(RestEndpoint aObserver)
unsubscribeObserver in interface org.refcodes.observer.Observable<B extends HttpRestServer>public Iterator<RestEndpoint> observers()
observers in interface org.refcodes.observer.Observers<RestEndpoint,RestServer>public B withBaseLocator(String aBaseLocator)
withBaseLocator in interface org.refcodes.net.BaseLocatorAccessor.BaseLocatorBuilder<B extends HttpRestServer>withBaseLocator in interface HttpRestServerwithBaseLocator in interface RestServerpublic B withClose() throws org.refcodes.component.CloseException
withClose in interface org.refcodes.component.Closable.CloseBuilder<B extends HttpRestServer>withClose in interface HttpRestServerorg.refcodes.component.CloseExceptionpublic B withCloseIn(int aCloseInMillis)
withCloseIn in interface org.refcodes.component.Closable.CloseBuilder<B extends HttpRestServer>withCloseIn in interface HttpRestServerpublic B withCloseQuietly()
withCloseQuietly in interface org.refcodes.component.Closable.CloseBuilder<B extends HttpRestServer>withCloseQuietly in interface HttpRestServerpublic B withCloseUnchecked()
withCloseUnchecked in interface org.refcodes.component.Closable.CloseBuilder<B extends HttpRestServer>public B withDisableRequestCorrelation()
withDisableRequestCorrelation in interface HttpRestServerwithDisableRequestCorrelation in interface org.refcodes.runtime.RequestCorrelation<B extends HttpRestServer>withDisableRequestCorrelation in interface RestServerpublic B withDisableSessionCorrelation()
withDisableSessionCorrelation in interface HttpRestServerwithDisableSessionCorrelation in interface RestServerwithDisableSessionCorrelation in interface org.refcodes.runtime.SessionCorrelation<B extends HttpRestServer>public B withEnableRequestCorrelation()
withEnableRequestCorrelation in interface HttpRestServerwithEnableRequestCorrelation in interface org.refcodes.runtime.RequestCorrelation<B extends HttpRestServer>withEnableRequestCorrelation in interface RestServerpublic B withEnableSessionCorrelation()
withEnableSessionCorrelation in interface HttpRestServerwithEnableSessionCorrelation in interface RestServerwithEnableSessionCorrelation in interface org.refcodes.runtime.SessionCorrelation<B extends HttpRestServer>public B withOpen(org.refcodes.net.HttpServerContext aConnection) throws org.refcodes.component.OpenException
withOpen in interface org.refcodes.component.ConnectionOpenable.ConnectionOpenBuilder<RestEndpoint,RestServer>withOpen in interface HttpRestServerorg.refcodes.component.OpenExceptionpublic B withOpenUnchecked(org.refcodes.net.HttpServerContext aConnection)
withOpenUnchecked in interface org.refcodes.component.ConnectionOpenable.ConnectionOpenBuilder<RestEndpoint,RestServer>public B withRealm(String aRealm)
withRealm in interface HttpRestServerwithRealm in interface org.refcodes.net.RealmAccessor.RealmBuilder<B extends HttpRestServer>withRealm in interface RestServerpublic B withRequestCorrelation(boolean hasRequestCorrelation)
withRequestCorrelation in interface HttpRestServerwithRequestCorrelation in interface org.refcodes.runtime.RequestCorrelation<B extends HttpRestServer>withRequestCorrelation in interface RestServerpublic B withSessionCorrelation(boolean hasSessionCorrelation)
withSessionCorrelation in interface HttpRestServerwithSessionCorrelation in interface RestServerwithSessionCorrelation in interface org.refcodes.runtime.SessionCorrelation<B extends HttpRestServer>public int getMaxConnections()
getMaxConnections in interface org.refcodes.io.MaxConnectionsAccessorpublic org.refcodes.security.KeyStoreDescriptor getKeyStoreDescriptor()
getKeyStoreDescriptor in interface org.refcodes.security.KeyStoreDescriptorAccessorpublic void setKeyStoreDescriptor(org.refcodes.security.KeyStoreDescriptor aStoreDescriptor)
setKeyStoreDescriptor in interface org.refcodes.security.KeyStoreDescriptorAccessor.KeyStoreDescriptorMutatorpublic void setMaxConnections(int aMaxConnections)
setMaxConnections in interface org.refcodes.io.MaxConnectionsAccessor.MaxConnectionsMutatorpublic void setProtocol(String aProtocol)
setProtocol in interface org.refcodes.net.SchemeAccessor.SchemeMutatorpublic String toProtocol()
toProtocol in interface org.refcodes.net.SchemeAccessorCopyright © 2018. All rights reserved.