Skip navigation links
A B C D E F G H I L M N O P R S T U V W 

A

ACCEPT - Static variable in class com.vanillasource.gerec.http.Headers
 
ACCEPTED - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
AcceptMediaType<T> - Interface in com.vanillasource.gerec
The part of a media-type for receiving the given type.
addAsAcceptedTo(HttpRequest) - Method in class com.vanillasource.gerec.mediatype.MediaTypeSpecification
 
addAsContentTo(HttpRequest) - Method in class com.vanillasource.gerec.mediatype.MediaTypeSpecification
 
addParameter(String, String) - Method in class com.vanillasource.gerec.http.ValueWithParameter
 
aggregate() - Method in class com.vanillasource.gerec.form.FormParameters
 
AioMaster - Interface in com.vanillasource.aio
An AIO (Asynchronous-IO) Master represents a peer in an AIO communication which drives the conversation.
AioSlave<T> - Interface in com.vanillasource.aio
An AIO (Asynchronous IO) Slave is a peer in an AIO communication which is driven by the Master to produce or consume data to- or from- the Master.
ALLOW - Static variable in class com.vanillasource.gerec.http.Headers
 
and(HttpRequest.HttpRequestChange) - Method in interface com.vanillasource.gerec.HttpRequest.HttpRequestChange
 
applyAsContent(HttpRequest) - Method in interface com.vanillasource.gerec.ContentMediaType
Apply this media type as being the content's media type for the given request.
applyAsContent(HttpRequest) - Method in class com.vanillasource.gerec.mediatype.ByteArrayContentType
 
applyAsContent(HttpRequest) - Method in class com.vanillasource.gerec.mediatype.SameTypesMediaType
 
applyAsContent(HttpRequest) - Method in class com.vanillasource.gerec.mediatype.StringContentType
 
applyAsContent(HttpRequest) - Method in class com.vanillasource.gerec.mediatype.TransformingContentType
 
applyAsOption(HttpRequest) - Method in interface com.vanillasource.gerec.AcceptMediaType
Apply this media-type as a possible option for a server to respond with.
applyAsOption(HttpRequest) - Method in class com.vanillasource.gerec.mediatype.ByteArrayAcceptType
 
applyAsOption(HttpRequest) - Method in class com.vanillasource.gerec.mediatype.LineBasedCollectionAcceptType
 
applyAsOption(HttpRequest) - Method in class com.vanillasource.gerec.mediatype.PolymorphicAcceptType
 
applyAsOption(HttpRequest) - Method in class com.vanillasource.gerec.mediatype.SameTypesMediaType
 
applyAsOption(HttpRequest) - Method in class com.vanillasource.gerec.mediatype.StringAcceptType
 
applyAsOption(HttpRequest) - Method in class com.vanillasource.gerec.mediatype.TransformingAcceptType
 
applyTo(HttpRequest) - Method in class com.vanillasource.gerec.http.MultiValueHeaderAdd
 
applyTo(HttpRequest) - Method in class com.vanillasource.gerec.http.SingleHeaderValueSet
 
applyTo(HttpRequest) - Method in interface com.vanillasource.gerec.HttpRequest.HttpRequestChange
 
async() - Method in interface com.vanillasource.gerec.form.Form
 
async() - Method in interface com.vanillasource.gerec.ResourceReference
 
AsyncForm - Interface in com.vanillasource.gerec.form
A generic form that can be filled out with string keys and values and submitted.
AsyncHttpClient - Interface in com.vanillasource.gerec.reference
A generic HTTP Client for the HttpClientResourceReference.
AsyncHttpClientResourceReference - Class in com.vanillasource.gerec.reference
Implement a resource reference using a HTTP Client.
AsyncHttpClientResourceReference(AsyncHttpClient, URI) - Constructor for class com.vanillasource.gerec.reference.AsyncHttpClientResourceReference
 
AsyncResourceReference - Interface in com.vanillasource.gerec
An asynchronous version of ResourceReference, with exactly the same functionality, except it returns a CompletableFuture for all operations.

B

BAD_GATEWAY - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
BAD_REQUEST - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
ByteArrayAcceptType - Class in com.vanillasource.gerec.mediatype
Accept media type that copies all input into a byte array.
ByteArrayAcceptType(MediaTypeSpecification) - Constructor for class com.vanillasource.gerec.mediatype.ByteArrayAcceptType
 
ByteArrayContentType - Class in com.vanillasource.gerec.mediatype
Serializes a byte array into the request.
ByteArrayContentType(MediaTypeSpecification) - Constructor for class com.vanillasource.gerec.mediatype.ByteArrayContentType
 
ByteArrayReadableByteChannelSlave - Class in com.vanillasource.aio.channel
Reads all bytes into an internal buffer.
ByteArrayReadableByteChannelSlave(ReadableByteChannel, int) - Constructor for class com.vanillasource.aio.channel.ByteArrayReadableByteChannelSlave
 
ByteArrayReadableByteChannelSlave(ReadableByteChannel) - Constructor for class com.vanillasource.aio.channel.ByteArrayReadableByteChannelSlave
 
ByteArrayWritableByteChannelSlave - Class in com.vanillasource.aio.channel
Writes all bytes given to the writable channel, without pausing.
ByteArrayWritableByteChannelSlave(WritableByteChannel, byte[]) - Constructor for class com.vanillasource.aio.channel.ByteArrayWritableByteChannelSlave
 

C

CACHE_CONTROL - Static variable in class com.vanillasource.gerec.http.Headers
 
CacheControl - Class in com.vanillasource.gerec.http
Cache control directives which can be combined and attached to requests to control privacy, freshness or staleness of responses.
close() - Method in interface com.vanillasource.aio.AioMaster
Instructs the leader to stop all I/O, and free all resources.
close() - Method in class com.vanillasource.aio.channel.UncontrollableByteArrayReadableByteChannelMaster
 
close() - Method in class com.vanillasource.aio.channel.UncontrollableByteArrayWritableByteChannelMaster
 
close() - Method in class com.vanillasource.aio.channel.UncontrollableReadableByteChannelMaster
 
com.vanillasource.aio - package com.vanillasource.aio
 
com.vanillasource.aio.channel - package com.vanillasource.aio.channel
 
com.vanillasource.gerec - package com.vanillasource.gerec
 
com.vanillasource.gerec.form - package com.vanillasource.gerec.form
 
com.vanillasource.gerec.http - package com.vanillasource.gerec.http
 
com.vanillasource.gerec.mediatype - package com.vanillasource.gerec.mediatype
 
com.vanillasource.gerec.reference - package com.vanillasource.gerec.reference
 
CONFLICT - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
consumeContent(Function<ReadableByteChannelMaster, AioSlave<R>>) - Method in interface com.vanillasource.gerec.HttpResponse
 
CONTENT_LENGTH - Static variable in class com.vanillasource.gerec.http.Headers
 
CONTENT_TYPE - Static variable in class com.vanillasource.gerec.http.Headers
 
ContentMediaType<T> - Interface in com.vanillasource.gerec
The part of a media-type for sending the given type.
ContentResponse<T> - Interface in com.vanillasource.gerec
A server response after interacting with a resource that results in some content returned.
CONTINUE - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
CREATED - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
csvStringHeader(String) - Static method in class com.vanillasource.gerec.http.Headers
 
csvValueHeader(String, Headers.ValueFormat<T>) - Static method in class com.vanillasource.gerec.http.Headers
 

D

DATE - Static variable in class com.vanillasource.gerec.http.Headers
 
delete(AcceptMediaType<T>, HttpRequest.HttpRequestChange) - Method in interface com.vanillasource.gerec.AsyncResourceReference
 
delete(AcceptMediaType<T>) - Method in interface com.vanillasource.gerec.AsyncResourceReference
 
delete() - Method in interface com.vanillasource.gerec.AsyncResourceReference
 
delete(AcceptMediaType<T>, HttpRequest.HttpRequestChange) - Method in class com.vanillasource.gerec.reference.AsyncHttpClientResourceReference
 
delete(AcceptMediaType<T>, HttpRequest.HttpRequestChange) - Method in interface com.vanillasource.gerec.ResourceReference
 
delete(AcceptMediaType<T>) - Method in interface com.vanillasource.gerec.ResourceReference
 
delete() - Method in interface com.vanillasource.gerec.ResourceReference
 
DeserializationContext - Interface in com.vanillasource.gerec
 
deserialize(HttpResponse, DeserializationContext) - Method in interface com.vanillasource.gerec.AcceptMediaType
Deserialize the contents of the response to the given object type.
deserialize(List<String>) - Method in interface com.vanillasource.gerec.Header
Deserialize multiple physical header lines into a single value.
deserialize(String) - Method in class com.vanillasource.gerec.http.Headers.LongFormat
 
deserialize(String) - Method in class com.vanillasource.gerec.http.Headers.StringFormat
 
deserialize(String) - Method in interface com.vanillasource.gerec.http.Headers.ValueFormat
 
deserialize(HttpResponse, DeserializationContext) - Method in class com.vanillasource.gerec.mediatype.ByteArrayAcceptType
 
deserialize(HttpResponse, DeserializationContext) - Method in class com.vanillasource.gerec.mediatype.LineBasedCollectionAcceptType
 
deserialize(HttpResponse, DeserializationContext) - Method in class com.vanillasource.gerec.mediatype.PolymorphicAcceptType
 
deserialize(HttpResponse, DeserializationContext) - Method in class com.vanillasource.gerec.mediatype.SameTypesMediaType
 
deserialize(HttpResponse, DeserializationContext) - Method in class com.vanillasource.gerec.mediatype.StringAcceptType
 
deserialize(HttpResponse, DeserializationContext) - Method in class com.vanillasource.gerec.mediatype.TransformingAcceptType
 
doDelete(URI, HttpRequest.HttpRequestChange) - Method in interface com.vanillasource.gerec.reference.AsyncHttpClient
 
doGet(URI, HttpRequest.HttpRequestChange) - Method in interface com.vanillasource.gerec.reference.AsyncHttpClient
 
doHead(URI, HttpRequest.HttpRequestChange) - Method in interface com.vanillasource.gerec.reference.AsyncHttpClient
 
doOptions(URI, HttpRequest.HttpRequestChange) - Method in interface com.vanillasource.gerec.reference.AsyncHttpClient
 
doPost(URI, HttpRequest.HttpRequestChange) - Method in interface com.vanillasource.gerec.reference.AsyncHttpClient
 
doPut(URI, HttpRequest.HttpRequestChange) - Method in interface com.vanillasource.gerec.reference.AsyncHttpClient
 

E

equals(Object) - Method in class com.vanillasource.gerec.http.ValueWithParameter
 
equals(Object) - Method in class com.vanillasource.gerec.HttpStatusCode
 
equals(Object) - Method in class com.vanillasource.gerec.mediatype.MediaTypeSpecification
 
ErrorResponse - Interface in com.vanillasource.gerec
A server response after interacting with a resource that results in error.
ETAG - Static variable in class com.vanillasource.gerec.http.Headers
 
ExceptionTransparentCall<T> - Class in com.vanillasource.gerec
Makes RuntimeExceptions transparent for asynchronous calls.
ExceptionTransparentCall(CompletableFuture<T>) - Constructor for class com.vanillasource.gerec.ExceptionTransparentCall
 
EXPECTATION_FAILED - Static variable in class com.vanillasource.gerec.HttpStatusCode
 

F

FAILED_DEPENDENCY - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
followLocation() - Method in interface com.vanillasource.gerec.Response
Follow the 'Location' header received from the server.
FORBIDDEN - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
Form - Interface in com.vanillasource.gerec.form
A generic form that can be filled out with string keys and values and submitted.
FORMAT - Static variable in class com.vanillasource.gerec.http.ValueWithParameter
The standard header values with parameters are case-insensitive, in both the value and the parameter keys.
FormParameters - Class in com.vanillasource.gerec.form
 
FormParameters() - Constructor for class com.vanillasource.gerec.form.FormParameters
 
formUrlEncoded() - Static method in class com.vanillasource.gerec.mediatype.MediaTypes
Used for submitting information in HTML FORM POST format, using UTF-8 encoding.

G

GATEWAY_TIMEOUT - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
get(AcceptMediaType<T>, HttpRequest.HttpRequestChange) - Method in interface com.vanillasource.gerec.AsyncResourceReference
 
get(AcceptMediaType<T>) - Method in interface com.vanillasource.gerec.AsyncResourceReference
 
get() - Method in class com.vanillasource.gerec.ExceptionTransparentCall
 
get(AcceptMediaType<T>, HttpRequest.HttpRequestChange) - Method in class com.vanillasource.gerec.reference.AsyncHttpClientResourceReference
 
get(AcceptMediaType<T>, HttpRequest.HttpRequestChange) - Method in interface com.vanillasource.gerec.ResourceReference
 
get(AcceptMediaType<T>) - Method in interface com.vanillasource.gerec.ResourceReference
 
GetAsyncForm - Class in com.vanillasource.gerec.form
A form that adds all parameters to the URI, just like a HTML Form with GET method.
GetAsyncForm(URI, Function<URI, AsyncResourceReference>) - Constructor for class com.vanillasource.gerec.form.GetAsyncForm
 
getBody(AcceptMediaType<T>) - Method in interface com.vanillasource.gerec.ErrorResponse
Get the content of this error.
getContent() - Method in interface com.vanillasource.gerec.ContentResponse
 
getHeader(Header<T>) - Method in interface com.vanillasource.gerec.HttpRequest
 
getHeader(Header<T>) - Method in interface com.vanillasource.gerec.HttpResponse
 
getName() - Method in interface com.vanillasource.gerec.Header
Get the name/key of this header.
getParameterValue(String, String) - Method in class com.vanillasource.gerec.http.ValueWithParameter
 
getResponse() - Method in exception com.vanillasource.gerec.HttpErrorException
 
getStatusCode() - Method in interface com.vanillasource.gerec.HttpResponse
 
getStatusCode() - Method in interface com.vanillasource.gerec.Response
 
GONE - Static variable in class com.vanillasource.gerec.HttpStatusCode
 

H

hasAllow() - Method in interface com.vanillasource.gerec.Response
 
hasBody() - Method in interface com.vanillasource.gerec.ErrorResponse
 
hasBody(AcceptMediaType<?>) - Method in interface com.vanillasource.gerec.ErrorResponse
 
hashCode() - Method in class com.vanillasource.gerec.http.ValueWithParameter
 
hashCode() - Method in class com.vanillasource.gerec.HttpStatusCode
 
hashCode() - Method in class com.vanillasource.gerec.mediatype.MediaTypeSpecification
 
hasHeader(Header<?>) - Method in interface com.vanillasource.gerec.HttpRequest
 
hasHeader(Header<?>) - Method in interface com.vanillasource.gerec.HttpResponse
 
hasIdentity() - Method in interface com.vanillasource.gerec.Response
 
hasLastModified() - Method in interface com.vanillasource.gerec.Response
 
hasLocation() - Method in interface com.vanillasource.gerec.Response
 
hasParameter(String) - Method in class com.vanillasource.gerec.http.ValueWithParameter
 
head(HttpRequest.HttpRequestChange) - Method in interface com.vanillasource.gerec.AsyncResourceReference
 
head() - Method in interface com.vanillasource.gerec.AsyncResourceReference
 
head(HttpRequest.HttpRequestChange) - Method in class com.vanillasource.gerec.reference.AsyncHttpClientResourceReference
 
head(HttpRequest.HttpRequestChange) - Method in interface com.vanillasource.gerec.ResourceReference
 
head() - Method in interface com.vanillasource.gerec.ResourceReference
 
Header<T> - Interface in com.vanillasource.gerec
Represents a logical header.
Headers - Class in com.vanillasource.gerec.http
List of HTTP header names as used in requests and responses.
Headers.LongFormat - Class in com.vanillasource.gerec.http
 
Headers.StringFormat - Class in com.vanillasource.gerec.http
 
Headers.ValueFormat<T> - Interface in com.vanillasource.gerec.http
 
HTTP_VERSION_NOT_SUPPORTED - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
HttpErrorException - Exception in com.vanillasource.gerec
Indicates that a HTTP request was made, but server reported an error (4xx or 5xx codes).
HttpErrorException(String, ErrorResponse) - Constructor for exception com.vanillasource.gerec.HttpErrorException
 
HttpRequest - Interface in com.vanillasource.gerec
 
HttpRequest.HttpRequestChange - Interface in com.vanillasource.gerec
 
HttpResponse - Interface in com.vanillasource.gerec
 
HttpStatusCode - Class in com.vanillasource.gerec
A list of HTTP status codes in a quasi-enumeration.

I

IF_MATCH - Static variable in class com.vanillasource.gerec.http.Headers
 
IF_MODIFIED_SINCE - Static variable in class com.vanillasource.gerec.http.Headers
 
IF_NONE_MATCH - Static variable in class com.vanillasource.gerec.http.Headers
 
IF_UNMODIFIED_SINCE - Static variable in class com.vanillasource.gerec.http.Headers
 
ifMatch() - Method in interface com.vanillasource.gerec.Response
Request processing will only be attempted if the resource matches the identity in this response.
ifModifiedSince() - Method in interface com.vanillasource.gerec.Response
Request processing will only be attempted if the resource has been modified since this response.
ifModifiedSinceLastModified() - Method in interface com.vanillasource.gerec.Response
Request will only be attempted if the resource has been modified since the last modified date in this response.
ifNotMatch() - Method in interface com.vanillasource.gerec.Response
Request processing will only be attempted if the resource does not match the identity in this response.
ifUnmodifiedSince() - Method in interface com.vanillasource.gerec.Response
Request processing will only be attempted if the resource has not been modified since this response.
ifUnmodifiedSinceLastModified() - Method in interface com.vanillasource.gerec.Response
Request will only be attempted if the resource has not been modified since the last modified date in this response.
INSUFFICIENT_SPACE_ON_RESOURCE - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
INSUFFICIENT_STORAGE - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
INTERNAL_SERVER_ERROR - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
isDeleteAllowed() - Method in interface com.vanillasource.gerec.Response
 
isError() - Method in class com.vanillasource.gerec.HttpStatusCode
 
isGetAllowed() - Method in interface com.vanillasource.gerec.Response
 
isHandling(HttpResponse) - Method in interface com.vanillasource.gerec.AcceptMediaType
Determine whether the given response contains this accepted media type.
isHandling(HttpResponse) - Method in class com.vanillasource.gerec.mediatype.ByteArrayAcceptType
 
isHandling(HttpResponse) - Method in class com.vanillasource.gerec.mediatype.LineBasedCollectionAcceptType
 
isHandling(HttpResponse) - Method in class com.vanillasource.gerec.mediatype.PolymorphicAcceptType
 
isHandling(HttpResponse) - Method in class com.vanillasource.gerec.mediatype.SameTypesMediaType
 
isHandling(HttpResponse) - Method in class com.vanillasource.gerec.mediatype.StringAcceptType
 
isHandling(HttpResponse) - Method in class com.vanillasource.gerec.mediatype.TransformingAcceptType
 
isHeadAllowed() - Method in interface com.vanillasource.gerec.Response
 
isIn(HttpResponse) - Method in class com.vanillasource.gerec.mediatype.MediaTypeSpecification
 
isOpen() - Method in class com.vanillasource.aio.channel.UncontrollableByteArrayReadableByteChannelMaster
 
isOpen() - Method in class com.vanillasource.aio.channel.UncontrollableByteArrayWritableByteChannelMaster
 
isOpen() - Method in class com.vanillasource.aio.channel.UncontrollableReadableByteChannelMaster
 
isPostAllowed() - Method in interface com.vanillasource.gerec.Response
 
isPutAllowed() - Method in interface com.vanillasource.gerec.Response
 

L

LAST_MODIFIED - Static variable in class com.vanillasource.gerec.http.Headers
 
LENGTH_REQUIRED - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
LineBasedCollectionAcceptType<T> - Class in com.vanillasource.gerec.mediatype
An accept type that with another (delegate) accept type will lazily deserialize single lines into single items.
LineBasedCollectionAcceptType(MediaTypeSpecification, AcceptMediaType<T>, Consumer<T>) - Constructor for class com.vanillasource.gerec.mediatype.LineBasedCollectionAcceptType
 
LOCATION - Static variable in class com.vanillasource.gerec.http.Headers
 
LOCKED - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
LongFormat() - Constructor for class com.vanillasource.gerec.http.Headers.LongFormat
 

M

matchesValue(ValueWithParameter) - Method in class com.vanillasource.gerec.http.ValueWithParameter
 
maxAge(int) - Static method in class com.vanillasource.gerec.http.CacheControl
Specifies that the client is unwilling to accept a response that has an 'age' of more than the given amount.
maxStale(int) - Static method in class com.vanillasource.gerec.http.CacheControl
Specifies that the client is willing to accept a response which is stale, but only the given seconds at most.
MediaType<T> - Interface in com.vanillasource.gerec
A full media-type which can be both serialized to make requests and deserialized back from responses.
mediaType(String) - Static method in class com.vanillasource.gerec.mediatype.MediaTypeSpecification
 
mediaType(String, double) - Static method in class com.vanillasource.gerec.mediatype.MediaTypeSpecification
 
MediaTypes - Class in com.vanillasource.gerec.mediatype
A factory of some basic media types and their serializers/deserializers.
MediaTypeSpecification - Class in com.vanillasource.gerec.mediatype
A specification of a MediaType for accept or content purposes.
METHOD_FAILURE - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
METHOD_NOT_ALLOWED - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
minFresh(int) - Static method in class com.vanillasource.gerec.http.CacheControl
Specifies that the client is only willing to accept a response that is still fresh for the given amount of seconds.
MOVED_PERMANENTLY - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
MOVED_TEMPORARILY - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
MULTI_STATUS - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
MULTIPLE_CHOICES - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
MultiValueHeaderAdd - Class in com.vanillasource.gerec.http
Set the specified value to the given header, and separate with comma if there was already a value assigned.
MultiValueHeaderAdd(Header<List<T>>, T) - Constructor for class com.vanillasource.gerec.http.MultiValueHeaderAdd
 

N

NO_CHANGE - Static variable in interface com.vanillasource.gerec.HttpRequest.HttpRequestChange
 
NO_CONTENT - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
noCache() - Static method in class com.vanillasource.gerec.http.CacheControl
Specifies that the client is only willing to accept validated responses.
NON_AUTHORITATIVE_INFORMATION - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
NONE - Static variable in interface com.vanillasource.gerec.MediaType
A MediaType that simply discards any response content if there is any, and does not have any content as a request.
noStore() - Static method in class com.vanillasource.gerec.http.CacheControl
Specifies that request and response should not be stored by intermediate caches.
NOT_ACCEPTABLE - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
NOT_FOUND - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
NOT_IMPLEMENTED - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
NOT_MODIFIED - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
noTransform() - Static method in class com.vanillasource.gerec.http.CacheControl
 
NULL - Static variable in interface com.vanillasource.aio.channel.ReadableByteChannelMaster
 
NullReadableByteChannelSlave - Class in com.vanillasource.aio.channel
A follower of ReadableByteChannel that reads the channel completely, but discards all data immediately.
NullReadableByteChannelSlave(ReadableByteChannel) - Constructor for class com.vanillasource.aio.channel.NullReadableByteChannelSlave
 
NullWritableByteChannelSlave - Class in com.vanillasource.aio.channel
A follower of WritableByteChannel that doesn't write anything, and closes the channel as soon as it's allocated.
NullWritableByteChannelSlave(WritableByteChannel) - Constructor for class com.vanillasource.aio.channel.NullWritableByteChannelSlave
 

O

OK - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
onCompleted() - Method in interface com.vanillasource.aio.AioSlave
Called by the leader to indicate that the I/O conversation completed.
onCompleted() - Method in class com.vanillasource.aio.channel.ByteArrayReadableByteChannelSlave
 
onCompleted() - Method in class com.vanillasource.aio.channel.ByteArrayWritableByteChannelSlave
 
onCompleted() - Method in class com.vanillasource.aio.channel.NullReadableByteChannelSlave
 
onCompleted() - Method in class com.vanillasource.aio.channel.NullWritableByteChannelSlave
 
onlyIfCached() - Static method in class com.vanillasource.gerec.http.CacheControl
Specifies that the client is only interested in cached responses.
onReady() - Method in interface com.vanillasource.aio.AioSlave
Slave is notified by the leader to read or write data.
onReady() - Method in class com.vanillasource.aio.channel.ByteArrayReadableByteChannelSlave
 
onReady() - Method in class com.vanillasource.aio.channel.ByteArrayWritableByteChannelSlave
 
onReady() - Method in class com.vanillasource.aio.channel.NullReadableByteChannelSlave
 
onReady() - Method in class com.vanillasource.aio.channel.NullWritableByteChannelSlave
 
options(ContentMediaType<R>, R, AcceptMediaType<T>) - Method in interface com.vanillasource.gerec.AsyncResourceReference
 
options(MediaType<T>, T) - Method in interface com.vanillasource.gerec.AsyncResourceReference
 
options() - Method in interface com.vanillasource.gerec.AsyncResourceReference
 
options(ContentMediaType<R>, R, AcceptMediaType<T>) - Method in class com.vanillasource.gerec.reference.AsyncHttpClientResourceReference
 
options(ContentMediaType<R>, R, AcceptMediaType<T>) - Method in interface com.vanillasource.gerec.ResourceReference
 
options(MediaType<T>, T) - Method in interface com.vanillasource.gerec.ResourceReference
 
options() - Method in interface com.vanillasource.gerec.ResourceReference
 

P

PARTIAL_CONTENT - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
pause() - Method in interface com.vanillasource.aio.AioMaster
Instructs the leader to temporarily pause the production or consumption of data.
pause() - Method in class com.vanillasource.aio.channel.UncontrollableByteArrayReadableByteChannelMaster
 
pause() - Method in class com.vanillasource.aio.channel.UncontrollableByteArrayWritableByteChannelMaster
 
pause() - Method in class com.vanillasource.aio.channel.UncontrollableReadableByteChannelMaster
 
PAYMENT_REQUIRED - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
PolymorphicAcceptType<T> - Class in com.vanillasource.gerec.mediatype
An accept-type that can await several media types that are mapping to a class hierarchy, returning the base class.
PolymorphicAcceptType(List<? extends AcceptMediaType<? extends T>>) - Constructor for class com.vanillasource.gerec.mediatype.PolymorphicAcceptType
 
post(ContentMediaType<R>, R, AcceptMediaType<T>, HttpRequest.HttpRequestChange) - Method in interface com.vanillasource.gerec.AsyncResourceReference
 
post(MediaType<T>, T) - Method in interface com.vanillasource.gerec.AsyncResourceReference
 
post(ContentMediaType<R>, R, AcceptMediaType<T>) - Method in interface com.vanillasource.gerec.AsyncResourceReference
 
post(ContentMediaType<R>, R, AcceptMediaType<T>, HttpRequest.HttpRequestChange) - Method in class com.vanillasource.gerec.reference.AsyncHttpClientResourceReference
 
post(ContentMediaType<R>, R, AcceptMediaType<T>, HttpRequest.HttpRequestChange) - Method in interface com.vanillasource.gerec.ResourceReference
 
post(MediaType<T>, T) - Method in interface com.vanillasource.gerec.ResourceReference
 
post(ContentMediaType<R>, R, AcceptMediaType<T>) - Method in interface com.vanillasource.gerec.ResourceReference
 
PostAsyncForm - Class in com.vanillasource.gerec.form
A form that posts all parameters as form encoded, just like a HTML Form with POST method.
PostAsyncForm(AsyncResourceReference) - Constructor for class com.vanillasource.gerec.form.PostAsyncForm
 
PRECONDITION_FAILED - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
PROCESSING - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
PROXY_AUTHENTICATION_REQUIRED - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
put(ContentMediaType<R>, R, AcceptMediaType<T>, HttpRequest.HttpRequestChange) - Method in interface com.vanillasource.gerec.AsyncResourceReference
 
put(MediaType<T>, T) - Method in interface com.vanillasource.gerec.AsyncResourceReference
 
put(ContentMediaType<R>, R, AcceptMediaType<T>) - Method in interface com.vanillasource.gerec.AsyncResourceReference
 
put(String, String) - Method in interface com.vanillasource.gerec.form.AsyncForm
 
put(String, String) - Method in interface com.vanillasource.gerec.form.Form
 
put(String, String) - Method in class com.vanillasource.gerec.form.FormParameters
 
put(String, String) - Method in class com.vanillasource.gerec.form.GetAsyncForm
 
put(String, String) - Method in class com.vanillasource.gerec.form.PostAsyncForm
 
put(ContentMediaType<R>, R, AcceptMediaType<T>, HttpRequest.HttpRequestChange) - Method in class com.vanillasource.gerec.reference.AsyncHttpClientResourceReference
 
put(ContentMediaType<R>, R, AcceptMediaType<T>, HttpRequest.HttpRequestChange) - Method in interface com.vanillasource.gerec.ResourceReference
 
put(MediaType<T>, T) - Method in interface com.vanillasource.gerec.ResourceReference
 
put(ContentMediaType<R>, R, AcceptMediaType<T>) - Method in interface com.vanillasource.gerec.ResourceReference
 

R

read(ByteBuffer) - Method in class com.vanillasource.aio.channel.UncontrollableByteArrayReadableByteChannelMaster
 
read(ByteBuffer) - Method in class com.vanillasource.aio.channel.UncontrollableReadableByteChannelMaster
 
ReadableByteChannelMaster - Interface in com.vanillasource.aio.channel
 
REQUEST_TIMEOUT - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
REQUEST_TOO_LONG - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
REQUEST_URI_TOO_LONG - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
REQUESTED_RANGE_NOT_SATISFIABLE - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
RESET_CONTENT - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
resolve(URI) - Method in interface com.vanillasource.gerec.DeserializationContext
 
ResourceReference - Interface in com.vanillasource.gerec
References to resources are the main method by which users of this library should interact with RESTful HTTP resources.
Response - Interface in com.vanillasource.gerec
A server response after interacting with a resource.
resume() - Method in interface com.vanillasource.aio.AioMaster
Instructs the leader to resume producing or consuming data.
resume() - Method in class com.vanillasource.aio.channel.UncontrollableByteArrayReadableByteChannelMaster
 
resume() - Method in class com.vanillasource.aio.channel.UncontrollableByteArrayWritableByteChannelMaster
 
resume() - Method in class com.vanillasource.aio.channel.UncontrollableReadableByteChannelMaster
 

S

SameTypesMediaType<T> - Class in com.vanillasource.gerec.mediatype
A collection of media-types that all produce the same java type.
SameTypesMediaType(List<MediaType<T>>) - Constructor for class com.vanillasource.gerec.mediatype.SameTypesMediaType
 
SEE_OTHER - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
serialize(T, HttpRequest) - Method in interface com.vanillasource.gerec.ContentMediaType
Serialize the given object to the request.
serialize(T) - Method in interface com.vanillasource.gerec.Header
Serialize the given value to possibly multiple header values.
serialize(Long) - Method in class com.vanillasource.gerec.http.Headers.LongFormat
 
serialize(String) - Method in class com.vanillasource.gerec.http.Headers.StringFormat
 
serialize(T) - Method in interface com.vanillasource.gerec.http.Headers.ValueFormat
 
serialize(byte[], HttpRequest) - Method in class com.vanillasource.gerec.mediatype.ByteArrayContentType
 
serialize(T, HttpRequest) - Method in class com.vanillasource.gerec.mediatype.SameTypesMediaType
 
serialize(String, HttpRequest) - Method in class com.vanillasource.gerec.mediatype.StringContentType
 
serialize(T, HttpRequest) - Method in class com.vanillasource.gerec.mediatype.TransformingContentType
 
SERVICE_UNAVAILABLE - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
setByteProducer(Function<WritableByteChannelMaster, AioSlave<Void>>) - Method in interface com.vanillasource.gerec.HttpRequest
 
setByteProducer(Function<WritableByteChannelMaster, AioSlave<Void>>, long) - Method in interface com.vanillasource.gerec.HttpRequest
 
setHeader(Header<T>, T) - Method in interface com.vanillasource.gerec.HttpRequest
 
SingleHeaderValueSet - Class in com.vanillasource.gerec.http
Set a header value on the request.
SingleHeaderValueSet(Header<T>, T) - Constructor for class com.vanillasource.gerec.http.SingleHeaderValueSet
 
singleLongHeader(String) - Static method in class com.vanillasource.gerec.http.Headers
 
singleStringHeader(String) - Static method in class com.vanillasource.gerec.http.Headers
 
singleValueHeader(String, Headers.ValueFormat<T>) - Static method in class com.vanillasource.gerec.http.Headers
 
StringAcceptType - Class in com.vanillasource.gerec.mediatype
Accept media type that copies all input into a string, with the characterset determined from the "charset" attribute of the media type.
StringAcceptType(MediaTypeSpecification, String) - Constructor for class com.vanillasource.gerec.mediatype.StringAcceptType
 
StringAcceptType(MediaTypeSpecification) - Constructor for class com.vanillasource.gerec.mediatype.StringAcceptType
 
StringContentType - Class in com.vanillasource.gerec.mediatype
Serializes a string into the request with the given charset, which is also added to the given media-type as the 'charset' attribute.
StringContentType(MediaTypeSpecification, String) - Constructor for class com.vanillasource.gerec.mediatype.StringContentType
 
StringContentType(MediaTypeSpecification) - Constructor for class com.vanillasource.gerec.mediatype.StringContentType
 
StringFormat() - Constructor for class com.vanillasource.gerec.http.Headers.StringFormat
 
submit(AcceptMediaType<T>) - Method in interface com.vanillasource.gerec.form.AsyncForm
 
submit(AcceptMediaType<T>) - Method in interface com.vanillasource.gerec.form.Form
 
submit(AcceptMediaType<T>) - Method in class com.vanillasource.gerec.form.GetAsyncForm
 
submit(AcceptMediaType<T>) - Method in class com.vanillasource.gerec.form.PostAsyncForm
 
SWITCHING_PROTOCOLS - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
sync() - Method in interface com.vanillasource.gerec.AsyncResourceReference
 
sync() - Method in interface com.vanillasource.gerec.form.AsyncForm
 

T

TEMPORARY_REDIRECT - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
textPlain() - Static method in class com.vanillasource.gerec.mediatype.MediaTypes
A text/plain with UTF-8 and no quality indicator.
textPlain(double) - Static method in class com.vanillasource.gerec.mediatype.MediaTypes
An UTF-8 text/plain with accept quality indicator.
textPlain(MediaTypeSpecification) - Static method in class com.vanillasource.gerec.mediatype.MediaTypes
The media-type "text/plain" which is mapped to type String.
toByteArray() - Method in class com.vanillasource.aio.channel.UncontrollableByteArrayWritableByteChannelMaster
 
toString() - Method in class com.vanillasource.gerec.http.ValueWithParameter
 
toString() - Method in class com.vanillasource.gerec.HttpStatusCode
 
toString() - Method in class com.vanillasource.gerec.mediatype.MediaTypeSpecification
 
TransformingAcceptType<T,R> - Class in com.vanillasource.gerec.mediatype
Accept media type that transforms to another accept media type.
TransformingAcceptType(AcceptMediaType<R>, Function<R, T>) - Constructor for class com.vanillasource.gerec.mediatype.TransformingAcceptType
 
TransformingContentType<T,R> - Class in com.vanillasource.gerec.mediatype
Content media type that transforms from another content media type.
TransformingContentType(ContentMediaType<R>, Function<T, R>) - Constructor for class com.vanillasource.gerec.mediatype.TransformingContentType
 

U

UNAUTHORIZED - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
UncontrollableByteArrayReadableByteChannelMaster - Class in com.vanillasource.aio.channel
A channel leader that can not be controlled.
UncontrollableByteArrayReadableByteChannelMaster(byte[]) - Constructor for class com.vanillasource.aio.channel.UncontrollableByteArrayReadableByteChannelMaster
 
UncontrollableByteArrayWritableByteChannelMaster - Class in com.vanillasource.aio.channel
A channel leader that can not be controlled.
UncontrollableByteArrayWritableByteChannelMaster() - Constructor for class com.vanillasource.aio.channel.UncontrollableByteArrayWritableByteChannelMaster
 
UncontrollableReadableByteChannelMaster - Class in com.vanillasource.aio.channel
A channel leader that can not be controlled.
UncontrollableReadableByteChannelMaster(ReadableByteChannel) - Constructor for class com.vanillasource.aio.channel.UncontrollableReadableByteChannelMaster
 
UNPROCESSABLE_ENTITY - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
UNSUPPORTED_MEDIA_TYPE - Static variable in class com.vanillasource.gerec.HttpStatusCode
 
USE_PROXY - Static variable in class com.vanillasource.gerec.HttpStatusCode
 

V

value() - Method in class com.vanillasource.gerec.HttpStatusCode
 
valueOf(int) - Static method in class com.vanillasource.gerec.HttpStatusCode
 
ValueWithParameter - Class in com.vanillasource.gerec.http
A "standard" header value, which is a string with one or more parameters associated.
ValueWithParameter(String) - Constructor for class com.vanillasource.gerec.http.ValueWithParameter
 
ValueWithParameter(String, String, String) - Constructor for class com.vanillasource.gerec.http.ValueWithParameter
 
ValueWithParameter(String, Map<String, String>) - Constructor for class com.vanillasource.gerec.http.ValueWithParameter
 

W

WILDCARD - Static variable in class com.vanillasource.gerec.mediatype.MediaTypeSpecification
 
withParameter(String, String) - Method in class com.vanillasource.gerec.mediatype.MediaTypeSpecification
 
WritableByteChannelMaster - Interface in com.vanillasource.aio.channel
 
write(ByteBuffer) - Method in class com.vanillasource.aio.channel.UncontrollableByteArrayWritableByteChannelMaster
 
A B C D E F G H I L M N O P R S T U V W 
Skip navigation links

Copyright © 2017. All rights reserved.