Package | Description |
---|---|
org.refcodes.net |
Use the types and definitions of this artifact when you are tired of defining
your own networking based basics, your own HTTP-status-code enumerations
(
HttpStatusCode or exceptions representing erroneous
HTTP state, or if you are tired of cookie handling, Header-Field processing
... and so on:
This artifact provides various types such as Cookie ,
FormFields , HeaderFields or
HttpMethod , which enable you to use such HTTP based
structures in a native Java way while having a tool at hand to bridge back
into the HTTP protocol world. |
org.refcodes.net.impls |
This package contains implementations of the types defined by this artifact.
|
Class and Description |
---|
AuthCredentials
The Interface AuthCredentials.
|
AuthType
The Enum AuthType.
|
AuthTypeAccessor
Provides an accessor for a
AuthType property. |
AuthTypeAccessor.AuthTypeBuilder
Provides a builder method for a
AuthType property returning the
builder for applying multiple build operations. |
AuthTypeAccessor.AuthTypeMutator
Provides a mutator for a
AuthType property. |
BadRequestException
The Class BadRequestException.
|
BadResponseException
The Class BadResponseException.
|
BaseLocatorAccessor
Provides an accessor for a base locator property.
|
BaseLocatorAccessor.BaseLocatorBuilder
Provides a builder method for a base locator property returning the
builder for applying multiple build operations.
|
BaseLocatorAccessor.BaseLocatorMutator
Provides a mutator for a base locator property.
|
BaseUrlAccessor
Provides an accessor for a base URL (protocol, host, port, locator) property.
|
BaseUrlAccessor.BaseUrlBuilder
Provides a builder method for a base URL (protocol, host, port, locator)
property returning the builder for applying multiple build operations.
|
BaseUrlAccessor.BaseUrlMutator
Provides a mutator for a base URL (protocol, host, port, locator)
property.
|
BasicAuthCredentials
This interface defines a type for representing a Basic-Authentication
credentials Header-Field.
|
BasicAuthCredentialsAccessor
Provides an accessor for a
BasicAuthCredentials property. |
BasicAuthCredentialsAccessor.BasicAuthCredentialsBuilder
Provides a builder method for a
BasicAuthCredentials property
returning the builder for applying multiple build operations. |
BasicAuthCredentialsAccessor.BasicAuthCredentialsMutator
Provides a mutator for a
BasicAuthCredentials property. |
BasicAuthCredentialsAccessor.BasicAuthCredentialsProperty
Provides a
BasicAuthCredentials property. |
BasicAuthObservable
An observable which notifies the registered
BasicAuthObserver on
incoming HTTP Basic-Authentication requests. |
BasicAuthObserver
An observer being notified by incoming HTTP Basic-Authentication requests
which might have been registered via
BasicAuthObservable.onBasicAuthRequest(BasicAuthObserver) possibly
using lambda syntax. |
BasicAuthResponse
The Enum BasicAuthResponse.
|
BasicCredentials
The Interface BasicCredentials.
|
BearerAuthCredentials
This interface defines a type for representing a Bearer-Authentication
credentials Header-Field.
|
BearerAuthCredentialsAccessor
Provides an accessor for a
BearerAuthCredentials property. |
BearerAuthCredentialsAccessor.BearerAuthCredentialsBuilder
Provides a builder method for a
BearerAuthCredentials property
returning the builder for applying multiple build operations. |
BearerAuthCredentialsAccessor.BearerAuthCredentialsMutator
Provides a mutator for a
BearerAuthCredentials property. |
BearerAuthCredentialsAccessor.BearerAuthCredentialsProperty
Provides a
BearerAuthCredentials property. |
BearerCredentials
The Interface BearerCredentials.
|
ContentEncoding
ContentEncoding s are specified an an HTTP Header-Fields
HeaderField.ACCEPT_ENCODING or HeaderField.CONTENT_ENCODING
and how to encode a HTTP body or how a HTTP body is encoded. |
ContentType
A
ContentType represents a MediaType and its according
TopLevelType with additional (optional) suffixed parameters (as of
the according HTTP Header-Fields). |
ContentTypeAccessor
Provides an accessor for a Content-Type property.
|
ContentTypeAccessor.ContentTypeBuilder
Provides a builder method for a Content-Type property returning the
builder for applying multiple build operations.
|
ContentTypeAccessor.ContentTypeMutator
Provides a mutator for a Content-Type property.
|
ContentTypeAccessor.ContentTypeProvider
A provider interface provides a "toSomething(?)"
|
Cookie
The
Cookie represents a HTTP cookie. |
CookieAttribute
The Enum CookieAttribute.
|
ForbiddenException
The Class ForbiddenException.
|
FormFields
The
FormFields represent the URL's Query-String by the notation
originally used by the GET request of the ancient web forms (see
"https://en.wikipedia.org/wiki/Query_string#Web_forms"). |
FormFieldsAccessor
Provides an accessor for a request Form-Fields property.
|
FormFieldsAccessor.FormFieldsBuilder
Provides a mutator for a request Form-Fields property.
|
FormFieldsAccessor.FormFieldsMutator
Provides a mutator for a request Form-Fields property.
|
GrantType
The Enum GrantType.
|
HeaderField
The Enum HeaderField.
|
HeaderFields
The
HeaderFields reflect the structure of a HTTP header and may be
used to represent a HTTP header. |
HeaderFieldsAccessor
Provides an accessor for an Header-Fields property.
|
HeaderFieldsAccessor.HeaderFieldsBuilder
Provides a mutator for an Header-Fields property.
|
HeaderFieldsAccessor.HeaderFieldsMutator
Provides a mutator for an Header-Fields property.
|
HttpBodyAccessor
Provides an accessor for a HTTP body property.
|
HttpBodyAccessor.HttpBodyBuilder
Provides a builder body for a HTTP body property returning the builder
for applying multiple build operations.
|
HttpBodyAccessor.HttpBodyMutator
Provides a mutator for a HTTP body property.
|
HttpBodyAccessor.HttpBodyProvider
A provider interface provides a "toSomething(?)"
|
HttpBodyMap
The
HttpBodyMap type is a "dynamic" type in terms of it's structure
being represented by paths'. |
HttpClientRequest
Defines a
HttpClientRequest being the request as produced by the
client. |
HttpException
The Class HttpException.
|
HttpFields
Various key/value "collections" we run across when we develop HTTP based
applications may have more then one value for one key.
|
HttpInputStreamAccessor
Provides an accessor for a HTTP
InputStream body property. |
HttpInputStreamAccessor.HttpInputStreamBuilder
Provides a builder body for a HTTP
InputStream property returning
the builder for applying multiple build operations. |
HttpInputStreamAccessor.HttpInputStreamMutator
Provides a mutator for a
InputStream property. |
HttpMediaType
The
HttpMediaType converts an implementing instance's state into an
HTTP media type as used in HTTP Header-Fields. |
HttpMediaTypeAccessor
Provides an accessor for a HTTP Media-Type property.
|
HttpMediaTypeAccessor.HttpMediaTypeBuilder
Provides a builder body for a HTTP Media-Type property returning the
builder for applying multiple build operations.
|
HttpMediaTypeAccessor.HttpMediaTypeMutator
Provides a mutator for a HTTP Media-Type property.
|
HttpMediaTypeAccessor.HttpMediaTypeProvider
A provider interface provides a "toSomething(?)"
|
HttpMethod
The Enum HttpMethod.
|
HttpMethodAccessor
Provides an accessor for a HTTP-Method property.
|
HttpMethodAccessor.HttpMethodBuilder
Provides a builder method for a HTTP-Method property returning the
builder for applying multiple build operations.
|
HttpMethodAccessor.HttpMethodMutator
Provides a mutator for a HTTP-Method property.
|
HttpRequest
Defines a HTTP-Request, being the
HttpMethod , the Header-Fields, the
request body and the locator representing the request. |
HttpResponse
Defines a
HttpResponse being the response Header-Fields and the
response body. |
HttpResponseException
Thrown by a HTTP-Response handling system in case of some unexpected
response.
|
HttpResponseRuntimeException
Thrown by a HTTP-Response handling system in case of some unexpected
response.
|
HttpRuntimeException
The Class HttpRuntimeException.
|
HttpsConnectionRequestObservable
An observable which notifies the registered
HttpsConnectionRequestObserver on incoming HTTPS requests. |
HttpsConnectionRequestObserver
An observer being notified by incoming HTTPS requests which might have been
registered via
HttpsConnectionRequestObservable.onConnectionRequest(HttpsConnectionRequestObserver)
possibly using lambda syntax. |
HttpServerResponse
Defines a
HttpServerResponse as produced by the server. |
HttpStatusCode
The org.apache.commons.httpclient.HttpStatus constants as enumeration.
|
HttpStatusCodeAccessor
Provides access to a HTTP Status-Code property including all known HTTP HTTP
Status-Codes (success as well as error codes) as of
HttpStatusCode . |
HttpStatusCodeAccessor.HttpStatusCodeBuilder
Provides a builder method for a HTTP Status-Code property returning the
builder for applying multiple build operations.
|
HttpStatusCodeAccessor.HttpStatusCodeMutator
Extends the
HttpStatusCodeAccessor with a setter method. |
HttpStatusCodeAccessor.HttpStatusCodeProperty
Extends the
HttpStatusCodeAccessor with a setter method. |
HttpStatusException
The Class HttpStatusException.
|
HttpStatusRuntimeException
The Class HttpStatusRuntimeException.
|
HttpSuccessCode
Only the Success 2xx codes as of (from) the
HttpStatusCode
enumeration. |
HttpSuccessCodeAccessor
Provides access to a HTTP success code property including just the 2xx HTTP
success codes as of
HttpSuccessCode excluding all HTTP error codes. |
HttpSuccessCodeAccessor.HttpSuccessCodeBuilder
Provides a builder method for a HTTP success code property returning the
builder for applying multiple build operations.
|
HttpSuccessCodeAccessor.HttpSuccessCodeMutator
Extends the
HttpSuccessCodeAccessor with a setter method. |
LocalAddressAccessor
Provides an accessor for a local address property.
|
LocalAddressAccessor.LocalAddressBuilder
Provides a builder method for a local address property returning the
builder for applying multiple build operations.
|
LocalAddressAccessor.LocalAddressMutator
Provides a mutator for a local address property.
|
MediaType
The
MediaType is the Media-Sub-Type part of a HTTP Media-Type. |
MediaTypeAccessor
Provides an accessor for a Media-Type property.
|
MediaTypeAccessor.MediaTypeBuilder
Provides a builder method for a Media-Type property returning the builder
for applying multiple build operations.
|
MediaTypeAccessor.MediaTypeMutator
Provides a mutator for a Media-Type property.
|
MediaTypeFactory
The
MediaTypeFactory creates instances from an HTTP body and creates
an HTTP body from given instances according to the MediaType (as of
MediaTypeAccessor.getMediaType() ) for which the MediaTypeFactory is
responsible. |
MediaTypeFactoryLookup
The Interface MediaTypeFactoryLookup.
|
MediaTypeParameter
Known or in this scope used
MediaType parameters. |
NetException
The Class NetException.
|
NetRuntimeException
The Class NetRuntimeException.
|
OauthField
The Enum OauthField.
|
OauthToken
The Enum OauthToken.
|
Port
The Enum Port.
|
PortAccessor
Provides an accessor for a port property.
|
PortAccessor.PortBuilder
Provides a builder method for a port property returning the builder for
applying multiple build operations.
|
PortAccessor.PortMutator
Provides a mutator for a port property.
|
PortAlreadyBoundException
Thrown in case the given port
PortAlreadyBoundException.getPort() is already in use. |
PortNotFoundException
Thrown in case no port can be determined.
|
PortNotFoundRuntimeException
Thrown in case no port can be determined.
|
PortRange
Port range definitions as of RFC 6335 ("https://tools.ietf.org/html/rfc6335")
|
QueryFieldsAccessor
Provides an accessor for a request Query-Fields property.
|
QueryFieldsAccessor.QueryFieldsBuilder
Provides a mutator for a request Query-Fields property.
|
QueryFieldsAccessor.QueryFieldsMutator
Provides a mutator for a request Query-Fields property.
|
RealmAccessor
Provides an accessor for a realm property.
|
RealmAccessor.RealmBuilder
Provides a builder method for a realm property returning the builder for
applying multiple build operations.
|
RealmAccessor.RealmMutator
Provides a mutator for a realm property.
|
RemoteAddressAccessor
Provides an accessor for a remote address property.
|
RemoteAddressAccessor.RemoteAddressBuilder
Provides a builder method for a remote address property returning the
builder for applying multiple build operations.
|
RemoteAddressAccessor.RemoteAddressMutator
Provides a mutator for a remote address property.
|
RequestCookie
The
RequestCookie represents a builder for a building request
cookies. |
RequestHeaderFields
The
RequestHeaderFields reflect the structure of a HTTP header and
may be used to represent a HTTP header. |
RequestHeaderFieldsAccessor
Provides an accessor for an request Header-Fields property.
|
RequestHeaderFieldsAccessor.RequestHeaderFieldsBuilder
Provides a mutator for an request Header-Fields property.
|
RequestHeaderFieldsAccessor.RequestHeaderFieldsMutator
Provides a mutator for an request Header-Fields property.
|
ResponseCookie
The
ResponseCookie represents a builder for building response
cookies. |
ResponseHeaderFields
The
ResponseHeaderFields reflect the structure of a HTTP header and
may be used to represent a HTTP header. |
ResponseHeaderFieldsAccessor
Provides an accessor for an response Header-Fields property.
|
ResponseHeaderFieldsAccessor.ResponseHeaderFieldsBuilder
Provides a mutator for an response Header-Fields property.
|
ResponseHeaderFieldsAccessor.ResponseHeaderFieldsMutator
Provides a mutator for an response Header-Fields property.
|
TokenType
The Enum TokenType.
|
TopLevelType
The
TopLevelType is the top-level part of a HTTP Media-Type. |
TopLevelTypeAccessor
Provides an accessor for a Media-Top-Level-Type property.
|
TopLevelTypeAccessor.TopLevelTypeBuilder
Provides a builder method for a Media-Top-Level-Type property returning
the builder for applying multiple build operations.
|
TopLevelTypeAccessor.TopLevelTypeMutator
Provides a mutator for a Media-Top-Level-Type property.
|
UnauthorizedException
The Class UnauthorizedException.
|
UnauthorizedRuntimeException
The Class UnauthorizedRuntimeException.
|
UserAgentAccessor
Provides an accessor for a user agent property.
|
UserAgentAccessor.UserAgentBuilder
Provides a builder method for a user agent property returning the builder
for applying multiple build operations.
|
UserAgentAccessor.UserAgentMutator
Provides a mutator for a user agent property.
|
Class and Description |
---|
AuthCredentials
The Interface AuthCredentials.
|
AuthTypeAccessor
Provides an accessor for a
AuthType property. |
BadRequestException
The Class BadRequestException.
|
BadResponseException
The Class BadResponseException.
|
BasicAuthCredentials
This interface defines a type for representing a Basic-Authentication
credentials Header-Field.
|
BasicAuthCredentialsAccessor
Provides an accessor for a
BasicAuthCredentials property. |
BasicAuthCredentialsAccessor.BasicAuthCredentialsBuilder
Provides a builder method for a
BasicAuthCredentials property
returning the builder for applying multiple build operations. |
BasicAuthCredentialsAccessor.BasicAuthCredentialsMutator
Provides a mutator for a
BasicAuthCredentials property. |
BasicAuthCredentialsAccessor.BasicAuthCredentialsProperty
Provides a
BasicAuthCredentials property. |
BasicCredentials
The Interface BasicCredentials.
|
BearerAuthCredentials
This interface defines a type for representing a Bearer-Authentication
credentials Header-Field.
|
BearerAuthCredentialsAccessor
Provides an accessor for a
BearerAuthCredentials property. |
BearerAuthCredentialsAccessor.BearerAuthCredentialsBuilder
Provides a builder method for a
BearerAuthCredentials property
returning the builder for applying multiple build operations. |
BearerAuthCredentialsAccessor.BearerAuthCredentialsMutator
Provides a mutator for a
BearerAuthCredentials property. |
BearerAuthCredentialsAccessor.BearerAuthCredentialsProperty
Provides a
BearerAuthCredentials property. |
BearerCredentials
The Interface BearerCredentials.
|
ContentType
A
ContentType represents a MediaType and its according
TopLevelType with additional (optional) suffixed parameters (as of
the according HTTP Header-Fields). |
Cookie
The
Cookie represents a HTTP cookie. |
FormFields
The
FormFields represent the URL's Query-String by the notation
originally used by the GET request of the ancient web forms (see
"https://en.wikipedia.org/wiki/Query_string#Web_forms"). |
GrantType
The Enum GrantType.
|
HeaderFields
The
HeaderFields reflect the structure of a HTTP header and may be
used to represent a HTTP header. |
HeaderFieldsAccessor
Provides an accessor for an Header-Fields property.
|
HttpBodyAccessor
Provides an accessor for a HTTP body property.
|
HttpBodyAccessor.HttpBodyProvider
A provider interface provides a "toSomething(?)"
|
HttpBodyMap
The
HttpBodyMap type is a "dynamic" type in terms of it's structure
being represented by paths'. |
HttpClientRequest
Defines a
HttpClientRequest being the request as produced by the
client. |
HttpClientResponse
Defines a
HttpClientResponse being the response as consumed by the
client. |
HttpFields
Various key/value "collections" we run across when we develop HTTP based
applications may have more then one value for one key.
|
HttpInputStreamAccessor
Provides an accessor for a HTTP
InputStream body property. |
HttpMediaType
The
HttpMediaType converts an implementing instance's state into an
HTTP media type as used in HTTP Header-Fields. |
HttpMediaTypeAccessor.HttpMediaTypeProvider
A provider interface provides a "toSomething(?)"
|
HttpMethod
The Enum HttpMethod.
|
HttpMethodAccessor
Provides an accessor for a HTTP-Method property.
|
HttpRequest
Defines a HTTP-Request, being the
HttpMethod , the Header-Fields, the
request body and the locator representing the request. |
HttpResponse
Defines a
HttpResponse being the response Header-Fields and the
response body. |
HttpServerRequest
Defines a
HttpServerRequest being the request as consumed by the
server. |
HttpServerResponse
Defines a
HttpServerResponse as produced by the server. |
HttpStatusCode
The org.apache.commons.httpclient.HttpStatus constants as enumeration.
|
HttpStatusCodeAccessor
Provides access to a HTTP Status-Code property including all known HTTP HTTP
Status-Codes (success as well as error codes) as of
HttpStatusCode . |
HttpStatusCodeAccessor.HttpStatusCodeBuilder
Provides a builder method for a HTTP Status-Code property returning the
builder for applying multiple build operations.
|
HttpStatusCodeAccessor.HttpStatusCodeMutator
Extends the
HttpStatusCodeAccessor with a setter method. |
HttpStatusCodeAccessor.HttpStatusCodeProperty
Extends the
HttpStatusCodeAccessor with a setter method. |
MediaType
The
MediaType is the Media-Sub-Type part of a HTTP Media-Type. |
MediaTypeAccessor
Provides an accessor for a Media-Type property.
|
MediaTypeFactory
The
MediaTypeFactory creates instances from an HTTP body and creates
an HTTP body from given instances according to the MediaType (as of
MediaTypeAccessor.getMediaType() ) for which the MediaTypeFactory is
responsible. |
MediaTypeFactoryLookup
The Interface MediaTypeFactoryLookup.
|
PortAlreadyBoundException
Thrown in case the given port
PortAlreadyBoundException.getPort() is already in use. |
PortManager
When implemented as singleton, then resources battling for dynamically
assigned ports my use this functionality to get and block a port until it is
freed again.
|
PortNotFoundRuntimeException
Thrown in case no port can be determined.
|
QueryFieldsAccessor
Provides an accessor for a request Query-Fields property.
|
RequestCookie
The
RequestCookie represents a builder for a building request
cookies. |
RequestHeaderFields
The
RequestHeaderFields reflect the structure of a HTTP header and
may be used to represent a HTTP header. |
ResponseCookie
The
ResponseCookie represents a builder for building response
cookies. |
ResponseHeaderFields
The
ResponseHeaderFields reflect the structure of a HTTP header and
may be used to represent a HTTP header. |
TopLevelTypeAccessor
Provides an accessor for a Media-Top-Level-Type property.
|
Copyright © 2017. All rights reserved.