Uses of Interface
org.refcodes.rest.RestServer
-
-
Uses of RestServer in org.refcodes.rest
Subinterfaces of RestServer in org.refcodes.rest Modifier and Type Interface Description interfaceHttpRegistryRestServer<DESC extends HttpServerDescriptor,B extends HttpRegistryRestServer<DESC,B>>TheHttpRegistryRestServerprovides additional functionality for registering at and signing off from a service discovery service in order to resolve URLs to or from other services.interfaceHttpRestServerExtends aRestServerto be capable of opening a server socket on the local host with the provided port number viaConnectionOpenable.open(Object)or with an additional maximum number of connections viaHttpRestServer.open(int, int).interfaceLoopbackRestServerExtends aRestServerto be used as loopback device e.g. for testing purposes such as testing yourRestRequestObserverimplementations.Classes in org.refcodes.rest that implement RestServer Modifier and Type Class Description classAbstractHttpRegistryRestServerDecorator<DESC extends HttpServerDescriptor,B extends HttpRegistryRestServer<DESC,B>>Abstract class for easily decorating aHttpRegistryRestServer.classAbstractHttpRestServerDecorator<B extends HttpRestServer>Abstract class for easily decorating aHttpRestServer.classAbstractRestServerImplementation of the base functionality of theRestServerinterface omitting the HTTP handling part being the foundation for variousRestServerimplementations such asHttpRestServerImplorLoopbackRestServerImpl.classHttpRestServerImplImplementation of theHttpRestServerinterface using theHttpServerdefined in thecom.sun.net.httpserverpackage.classHttpRestServerSingletonThe singleton of theHttpRestServerImplfor easyHttpRestServeraccess.classLoopbackRestServerImplImplementation if theLoopbackRestServerfor easy testing of your requests being received by aRestServer(HttpRestServer) and the according responselambdaexpressions.classLoopbackRestServerSingletonThe singleton of theLoopbackRestServerImplfor easyRestServeraccess.Methods in org.refcodes.rest that return RestServer Modifier and Type Method Description RestServerBasicAuthEventImpl. getSource()RestServerRestRequestEventImpl. getSource()RestServerRestResponseEventImpl. getSource()default RestServerRestServer. withBaseLocator(java.lang.String aBaseLocator)default RestServerRestServer. withDisableObservers()default RestServerRestServer. withDisableRequestCorrelation()default RestServerRestServer. withDisableSessionCorrelation()default RestServerRestServer. withEnableObservers()default RestServerRestServer. withEnableRequestCorrelation()default RestServerRestServer. withEnableSessionCorrelation()default RestServerRestServer. withObserversActive(boolean isActive)default RestServerRestServer. withRealm(java.lang.String aRealm)default RestServerRestServer. withRequestCorrelation(boolean hasRequestCorrelation)default RestServerRestServer. withSessionCorrelation(boolean hasSessionCorrelation)Constructors in org.refcodes.rest with parameters of type RestServer Constructor Description BasicAuthEventImpl(java.net.InetSocketAddress aLocalAddress, java.net.InetSocketAddress aRemoteAddress, org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.net.Url aUrl, org.refcodes.matcher.WildcardSubstitutes aWildcardSubstitutes, org.refcodes.net.BasicAuthCredentials aCredentials, java.lang.String aRealm, RestServer aRestServer)RestRequestEventImpl(java.net.InetSocketAddress aLocalAddress, java.net.InetSocketAddress aRemoteAddress, org.refcodes.net.HttpMethod aHttpMethod, org.refcodes.net.Url aUrl, org.refcodes.matcher.WildcardSubstitutes aWildcardSubstitutes, org.refcodes.net.RequestHeaderFields aHeaderFields, java.io.InputStream aHttpInputStream, RestServer aRestServer)Constructs aRestRequestEventwith all required attributes.
-