Package | Description |
---|---|
org.refcodes.rest |
What is this package for?
|
org.refcodes.rest.impls |
Class and Description |
---|
HttpRestClient
Extends a
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) ). |
HttpRestServer
Extends a
RestServer to be capable of opening a server socket on the
local host with the provided port number via #open(Integer) or with
an additional maximum number of connections via HttpRestServer.open(Integer, int) . |
LoopbackRestClient
Extends a
RestClient to be used as loopback device e.g. for testing
purposes such as testing your RestResponseObserver implementations. |
LoopbackRestServer
Extends a
RestServer to be used as loopback device e.g. for testing
purposes such as testing your RestRequestObserver implementations. |
RestCaller
A
RestCaller describes a REST request and the
RestResponseObserver in charge for handling the response. |
RestCallerBuilder
An
RestCallerBuilder extends an RestCaller with builder
functionality and adds lambda support for handling the responses
addressed to this RestCaller . |
RestClient
A client to send requests for communicating with a RESTful server such as the
HttpRestServer . |
RestEndpoint
An
RestEndpoint subscribes to a RestServer (
HttpRestServer ) and defines the target for a REST request. |
RestEndpointBuilder
An
RestEndpointBuilder extends an RestEndpoint with builder
functionality and adds lambda support for handling the requests
addressed to this RestEndpoint . |
RestRequest
A
RestRequest describes a REST request and the RestResponse
providing the response. |
RestRequestBuilder
An
RestRequestBuilder extends an RestCaller with builder
functionality and adds lambda support for handling the responses
addressed to this RestCaller . |
RestRequestEvent
Defines a
RestRequestEvent being the request as consumed by a
RestEndpoint . |
RestRequestHandler
A
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
The
RestRequestObserver can be coded using the lambda
syntax and processes a request for a given locator and for a given
HttpMethod . |
RestResponse
Defines a
RestResponse being the base definition of a response as
returned as of a request issued by a RestClient (
HttpRestClient ). |
RestResponseEvent |
RestResponseObserver
The
RestResponseObserver can be coded using the lambda
syntax and processes a response from a server. |
RestServer
The
RestServer acts as the target for clients issuing REST requests. |
Class and Description |
---|
HttpRestClient
Extends a
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) ). |
HttpRestServer
Extends a
RestServer to be capable of opening a server socket on the
local host with the provided port number via #open(Integer) or with
an additional maximum number of connections via HttpRestServer.open(Integer, int) . |
LoopbackRestClient
Extends a
RestClient to be used as loopback device e.g. for testing
purposes such as testing your RestResponseObserver implementations. |
LoopbackRestServer
Extends a
RestServer to be used as loopback device e.g. for testing
purposes such as testing your RestRequestObserver implementations. |
RestCaller
A
RestCaller describes a REST request and the
RestResponseObserver in charge for handling the response. |
RestCallerBuilder
An
RestCallerBuilder extends an RestCaller with builder
functionality and adds lambda support for handling the responses
addressed to this RestCaller . |
RestClient
A client to send requests for communicating with a RESTful server such as the
HttpRestServer . |
RestEndpoint
An
RestEndpoint subscribes to a RestServer (
HttpRestServer ) and defines the target for a REST request. |
RestEndpointBuilder
An
RestEndpointBuilder extends an RestEndpoint with builder
functionality and adds lambda support for handling the requests
addressed to this RestEndpoint . |
RestRequest
A
RestRequest describes a REST request and the RestResponse
providing the response. |
RestRequestBuilder
An
RestRequestBuilder extends an RestCaller with builder
functionality and adds lambda support for handling the responses
addressed to this RestCaller . |
RestRequestEvent
Defines a
RestRequestEvent being the request as consumed by a
RestEndpoint . |
RestRequestHandler
A
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
The
RestRequestObserver can be coded using the lambda
syntax and processes a request for a given locator and for a given
HttpMethod . |
RestResponse
Defines a
RestResponse being the base definition of a response as
returned as of a request issued by a RestClient (
HttpRestClient ). |
RestResponseEvent |
RestResponseObserver
The
RestResponseObserver can be coded using the lambda
syntax and processes a response from a server. |
RestServer
The
RestServer acts as the target for clients issuing REST requests. |
Copyright © 2017. All rights reserved.