RestClient
interface being the
foundation for various RestClient
implementations such as
HttpRestClientImpl
or LoopbackRestClientImpl
.RestServer
interface
omitting the HTTP handling part being the foundation for various
RestServer
implementations such as HttpRestServerImpl
or
LoopbackRestServerImpl
.AbstractRestServer
pre-configured with
MediaTypeFactory
instances for JSON and REST.AbstractRestServer
pre-configured with
MediaTypeFactory
instances for JSON and REST.RestClient.buildDelete(String)
RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestClient.buildGet(String)
RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestClient.buildPost(String, Object)
RestClient.buildPost(String)
RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestClient.buildPut(String, Object)
RestClient.buildPut(String)
RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.RestRequestBuilder
instance.Closable.close()
Closable.closeIn(int)
Closable.closeQuietly()
RestClient.doDelete(String, Object)
RestClient.doDelete(String)
RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestClient.doGet(String, FormFields)
RestClient.doGet(String)
RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestClient.doPost(String, Object)
RestClient.doPost(String)
RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestClient.doPut(String, FormFields)
RestClient.doPut(String, Object)
RestClient.doPut(String)
RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestResponse
instance synchronously.RestCallerBuilder
instance used for the request.RestClient.doRequest(RestRequest)
RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestResponse
instance synchronously.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.RestCallerBuilder
instance used for the request.HttpRestClientSingleton
.HttpRestServerSingleton
.LoopbackRestClientSingleton
.LoopbackRestServerSingleton
.RestRequestObserver
to which any requests are
delegated upon invocation of the
RestRequestObserver.onRequest(RestRequestEvent, org.refcodes.net.HttpServerResponse)
method.RestRequestObserver
to which any requests are
delegated upon invocation of the
RestRequestObserver.onRequest(RestRequestEvent, org.refcodes.net.HttpServerResponse)
method.RestResponseObserver
to which any responses are
delegated upon invocation of the RestResponseObserver.onResponse(RestResponseEvent)
method.RestResponseObserver
to which any responses are
delegated upon invocation of the RestResponseObserver.onResponse(RestResponseEvent)
method.RestClient
to be capable of providing a User-Agent with
UserAgentAccessor.UserAgentMutator.setUserAgent(String)
(HttpRestClient.withUserAgent(String)
) and to be
capable of using base URLs to be set with BaseUrlAccessor.BaseUrlMutator.setBaseUrl(String)
(
BaseUrlAccessor.BaseUrlBuilder.withBaseUrl(String)
).HttpRestClientImpl
implements the HttpRestClient
interface.HttpRestClientImpl
for easy
HttpRestClient
access.import static org.refcodes.rest.HttpRestClientSugar.*;
RestServer
to be capable of opening a server socket on the
local host with the provided port number via ConnectionOpenable.open(Object)
or with an
additional maximum number of connections via HttpRestServer.open(Integer, int)
.HttpRestServer
interface using the
HttpServer
defined in the com.sun.net.httpserver
package.HttpRestServerImpl
listening to the given
localhost's port for HTTP-Requests.HttpRestServerImpl
listening to the given
localhost's port for HTTP-Requests.HttpRestServerImpl
for easy
HttpRestServer
access.import static org.refcodes.rest.HttpRestServerSugar.
MediaTypeFactory
instances.MediaTypeFactory
instances.RestClient
to be used as loopback device e.g. for testing
purposes such as testing your RestResponseObserver
implementations.LoopbackRestClient
for easy testing of your
requests being issued with a RestClient
(HttpRestClient
) and
the according response lambda
expressions.LoopbackRestClientImpl
for easy
LoopbackRestClientImpl
access.RestServer
to be used as loopback device e.g. for testing
purposes such as testing your RestRequestObserver
implementations.LoopbackRestServer
for easy testing of your
requests being received by a RestServer
(HttpRestServer
) and
the according response lambda
expressions.LoopbackRestServerImpl
for easy
RestServer
access.BasicAuthObservable.onBasicAuthRequest(BasicAuthObserver)
RestServer.onRequest(HttpMethod, String, RestRequestObserver)
:
Registers a RestRequestObserver
with the given Locator-Pattern to
incoming DELETE methods.RestServer.onRequest(HttpMethod, String, RestRequestObserver)
:
Registers a RestRequestObserver
with the given Locator-Pattern to
incoming GET methods.RestEndpoint
instances.Endpoint
instances:.Endpoint
instances:.RestEndpoint
instances.Endpoint
instances:.RestServer.onRequest(HttpMethod, String, RestRequestObserver)
:
Registers a RestRequestObserver
with the given Locator-Pattern to
incoming POST methods.RestServer.onRequest(HttpMethod, String, RestRequestObserver)
:
Registers a RestRequestObserver
with the given Locator-Pattern to
incoming PUT methods.RestEndpoint
with the least required
attributes and returns its instance.RestRequestEvent
)
describing the request and a response being a HttpServerResponse
to be processed upon by your lambda
's code.RestRequestEvent
)
describing the request and a response being a HttpServerResponse
to be processed upon by your lambda
's code.Observable.subscribeObserver(Object)
.RestEndpoint
, triggerd by any HTTP
method, and returns its instance.RestEndpoint
with the least required
attributes and returns its instance.RestResponseEvent
describing the response being processed upon by your
lambda
's code.RestResponseEvent
describing the response being processed upon by your
lambda
's code.RestCallerBuilder
instance to
be used to do the technical request with the technology chosen by the
implementing sub-class.RestRequestHandler
to simulate a REST response: The
RestRequestHandler.onRestRequest(org.refcodes.net.HttpClientRequest)
method is invoked with a prepared RestCallerBuilder
instance
representing the request being sent and produces an according
RestResponseEvent
to be passed back to the issuer of the request.RestCallerBuilder
instance to
be used to do the technical request with the technology chosen by the
implementing sub-class.RestCallerBuilder
instance to be used
to do the technical request with the technology chosen by the
implementing sub-class.HttpRestClient.open(File, String, String)
but:
Type the type of KeyStore
is set to "JKS".Openable.open()
HttpRestClient.open(File, String)
HttpRestServer.open(String, File, String, String, String, Integer, int)
but:
The number of maximum connections at the same time is decided upon by
the implementations's default value.HttpRestServer.open(String, File, String, String, String, Integer, int)
but:
The type of KeyStore
is set to "JKS".HttpRestServer.open(String, File, String, String, String, Integer, int)
but:
The type of KeyStore
is set to "JKS".HttpRestServer.open(String, File, String, String, String, Integer, int)
but:
The protocol fore the underlying SSLContext
used is set to
"TLS".HttpRestServer.open(String, File, String, String, String, Integer, int)
but:
The protocol fore the underlying SSLContext
used is set to
"TLS".HttpRestServer.open(String, File, String, String, String, Integer, int)
but:
The protocol fore the underlying SSLContext
used is set to
"TLS".HttpRestServer.open(String, File, String, String, String, Integer, int)
but:
The protocol fore the underlying SSLContext
used is set to
"TLS".HttpServer
(
HttpsServer
) by custom open(...) methods of sub-classes of this
HttpRestServerImpl
.ConnectionOpenable.open(Object)
RestCaller
describes a REST request and the
RestResponseObserver
in charge for handling the response.RestCallerBuilder
extends an RestCaller
with builder
functionality and adds lambda
support for handling the responses
addressed to this RestCaller
.RestCallerBuilder
interface as good old
POJO for use by different RestClient
implementations.HttpRestServer
.RestEndpoint
subscribes to a RestServer
(
HttpRestServer
) and defines the target for a REST request.RestEndpointBuilder
extends an RestEndpoint
with builder
functionality and adds lambda
support for handling the requests
addressed to this RestEndpoint
.RestEndpointBuilder
interface as good old
POJO for use by different RestServer
implementations.RestEndpointBuilder
, make sure to provide the
least required attributes as demonstrated by the constructor
RestEndpointBuilderImpl(HttpMethod, String, RestRequestObserver)
.RestEndpointBuilder
with the least required
attributes.RestRequest
describes a REST request and the RestResponse
providing the response.RestRequestBuilder
extends an RestCaller
with builder
functionality and adds lambda
support for handling the responses
addressed to this RestCaller
.RestCallerBuilder
interface as good old
POJO for use by different RestClient
implementations.RestRequestEvent
being the request as consumed by a
RestEndpoint
.RestRequestEvent
interface as good old POJO for
use by different RestServer
implementations.RestRequestEvent
with all required attributes.RestRequestHandler
handles a REST request on the RestClient
instance's side to do the actual technical implementation of sending that
request (or mocking the send-out of a request).RestRequestObserver
can be coded using the lambda
syntax and processes a request for a given locator and for a given
HttpMethod
.RestResponse
being the base definition of a response as
returned as of a request issued by a RestClient
(
HttpRestClient
).RestResponseEvent
interface as good old POJO
for use by different RestClient
implementations.RestResponseEvent
with all required attributes.RestResponseEvent
with all required attributes.RestResponseEvent
interface as good old POJO
for use by different RestClient
implementations.RestResponseEvent
with all required attributes.RestResponseObserver
can be coded using the lambda
syntax and processes a response from a server.RestServer
acts as the target for clients issuing REST requests.RestRequestObserver
to which any requests are delegated
upon invocation of the
RestRequestObserver.onRequest(RestRequestEvent, org.refcodes.net.HttpServerResponse)
method.RestRequestObserver
to which any requests are delegated
upon invocation of the
RestRequestObserver.onRequest(RestRequestEvent, org.refcodes.net.HttpServerResponse)
method.RestResponseObserver
to which any responses are
delegated upon invocation of the RestResponseObserver.onResponse(RestResponseEvent)
method.RestResponseObserver
to which any responses are
delegated upon invocation of the RestResponseObserver.onResponse(RestResponseEvent)
method.ContentType
.String
MediaType
encoded as of the
HeaderField.CONTENT_TYPE
from the response header or if not set
as of the HeaderField.ACCEPT
from the request header or if not
set as of the HeaderField.CONTENT_TYPE
from the request header.RestResponse
.RestResponse
.Observable.unsubscribeObserver(Object)
BaseUrlAccessor.BaseUrlBuilder.withBaseUrl(String)
HttpRestClient.withBaseUrl(URL)
RestRequestObserver
.RestResponseObserver
.HttpRestClient.withUserAgent(String)
Copyright © 2017. All rights reserved.