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

A

AbstractAsyncContentProvider - Class in org.everit.http.client.async
Helper class that makes it easier to implement Async content providers by having the complete and error handling functionality.
AbstractAsyncContentProvider() - Constructor for class org.everit.http.client.async.AbstractAsyncContentProvider
 
AbstractAsyncContentProvider.OnlyProcessedHandlingAsyncContentListener - Interface in org.everit.http.client.async
Helper interface to ease the implementation of an AsyncContentProvider.
AsyncCallback - Interface in org.everit.http.client.async
Allows the notification of an AsyncContentProvider to send the next chunk of data or if processing the data failed.
AsyncContentListener - Interface in org.everit.http.client.async
Listener interface that the programmer must implement in order to be able to receive data from an AsyncContentProvider.
AsyncContentProvider - Interface in org.everit.http.client.async
Provides content asynchronously.
AsyncContentUtil - Class in org.everit.http.client.async
Helper functions to use the interfaces of the Async package.
AutoCloseAsyncContentProvider - Class in org.everit.http.client.async
A wrapper around another AsyncContentProviders that closes the provider instance and the optionally specified additional Closeable objects when the reading from the provider is completed.
AutoCloseAsyncContentProvider(AsyncContentProvider, Closeable...) - Constructor for class org.everit.http.client.async.AutoCloseAsyncContentProvider
Constructor.

B

body(Optional<AsyncContentProvider>) - Method in class org.everit.http.client.HttpRequest.Builder
Optional body of the http request.
body(AsyncContentProvider) - Method in class org.everit.http.client.HttpResponse.Builder
The body of the HTTP response.
build() - Method in class org.everit.http.client.HttpRequest.Builder
Builder method of the builder.
build() - Method in class org.everit.http.client.HttpResponse.Builder
The body of the HTTP response.
builder() - Static method in class org.everit.http.client.HttpRequest
Creates builder to build HttpRequest.
builder() - Static method in class org.everit.http.client.HttpResponse
Creates builder to build HttpResponse.
builderFrom(HttpRequest) - Static method in class org.everit.http.client.HttpRequest
Creates a builder to build HttpRequest and initialize it with the given object.
builderFrom(HttpResponse) - Static method in class org.everit.http.client.HttpResponse
Creates a builder to build HttpResponse and initialize it with the given object.
ByteArrayAsyncContentProvider - Class in org.everit.http.client.async
Implementation of AsyncContentProvider that wraps a byte array and provides it as one chunk.
ByteArrayAsyncContentProvider(byte[], Optional<MediaType>) - Constructor for class org.everit.http.client.async.ByteArrayAsyncContentProvider
 

C

charset() - Method in class org.everit.http.client.MediaType
Returns the charset of this media type, or null if this media type doesn't specify a charset.
charset(Optional<Charset>) - Method in class org.everit.http.client.MediaType
Returns the charset of this media type, or defaultValue if either this media type doesn't specify a charset, of it its charset is unsupported by the current runtime.
close() - Method in class org.everit.http.client.async.AbstractAsyncContentProvider
 
close() - Method in interface org.everit.http.client.async.AsyncContentProvider
Closing the content provider.
close() - Method in class org.everit.http.client.async.AutoCloseAsyncContentProvider
 
close() - Method in interface org.everit.http.client.HttpClient
 
close() - Method in class org.everit.http.client.HttpResponse
Closes the body of this response.
closeResponseGracefully(HttpResponse) - Static method in class org.everit.http.client.HttpUtil
Closes the HTTP response gracefully by reading any body content that has not been read yet.
ClosingProviderAutomaticallyException - Exception in org.everit.http.client.async
Helper class to let the onError listener know that the exception was thrown when success listener was called successfully from the closing procedure, so closing in onError should not be reexecuted.
ConcatenatedAsyncContentProvider - Class in org.everit.http.client.async
An AsyncContentProvider implementation that concatenates multiple AsyncContentProvider instances.
ConcatenatedAsyncContentProvider(Optional<MediaType>, AsyncContentProvider...) - Constructor for class org.everit.http.client.async.ConcatenatedAsyncContentProvider
Constructor.
cookies(Collection<HttpCookie>) - Method in class org.everit.http.client.HttpRequest.Builder
Cookies that are sent with the HTTP request.
create(Optional<String>, Part...) - Static method in class org.everit.http.client.MultiPartAsyncContentProvider
Constructor.
createFieldPart(String, AsyncContentProvider) - Static method in class org.everit.http.client.Part
Creates a simple text/plain field that can be part of the multipart request.
createFieldPart(String, String) - Static method in class org.everit.http.client.Part
Creates a simple text/plain field that can be part of the multipart request.

D

doClose() - Method in class org.everit.http.client.async.AbstractAsyncContentProvider
 
doClose() - Method in class org.everit.http.client.async.ByteArrayAsyncContentProvider
 
doClose() - Method in class org.everit.http.client.async.ConcatenatedAsyncContentProvider
 
doClose() - Method in class org.everit.http.client.async.InputStreamAsyncContentProvider
 
doClose() - Method in class org.everit.http.client.async.ReadableByteChannelAsyncContentProvider
 

E

equals(Object) - Method in class org.everit.http.client.MediaType
 

F

failed(Throwable) - Method in interface org.everit.http.client.async.AsyncCallback
Notifies the AsyncContentProvider that the processing of the last chunk of data failed.
finalize() - Method in class org.everit.http.client.HttpResponse
 
FormUrlencodedAsyncContentProvider - Class in org.everit.http.client
Helper class to send HTTP requests with application/x-www-form-urlencoded content type.
FormUrlencodedAsyncContentProvider(Map<String, Collection<String>>) - Constructor for class org.everit.http.client.FormUrlencodedAsyncContentProvider
Constructor.

G

getBody() - Method in class org.everit.http.client.HttpRequest
Optional body of the http request.
getBody() - Method in class org.everit.http.client.HttpResponse
The body of the HTTP response.
getContent() - Method in class org.everit.http.client.Part
 
getContentLength() - Method in interface org.everit.http.client.async.AsyncContentProvider
The size of the data that is provided or Optional.empty() if the length is unknown in advance.
getContentLength() - Method in class org.everit.http.client.async.AutoCloseAsyncContentProvider
 
getContentLength() - Method in class org.everit.http.client.async.ByteArrayAsyncContentProvider
 
getContentLength() - Method in class org.everit.http.client.async.ConcatenatedAsyncContentProvider
 
getContentLength() - Method in class org.everit.http.client.async.InputStreamAsyncContentProvider
 
getContentLength() - Method in class org.everit.http.client.async.ReadableByteChannelAsyncContentProvider
 
getContentType() - Method in interface org.everit.http.client.async.AsyncContentProvider
The media type of the content or Optional.empty() if the media type is unknown.
getContentType() - Method in class org.everit.http.client.async.AutoCloseAsyncContentProvider
 
getContentType() - Method in class org.everit.http.client.async.ByteArrayAsyncContentProvider
 
getContentType() - Method in class org.everit.http.client.async.ConcatenatedAsyncContentProvider
 
getContentType() - Method in class org.everit.http.client.async.InputStreamAsyncContentProvider
 
getContentType() - Method in class org.everit.http.client.async.ReadableByteChannelAsyncContentProvider
 
getCookies() - Method in class org.everit.http.client.HttpRequest
Cookies that are sent with the HTTP request.
getFailure() - Method in class org.everit.http.client.async.AbstractAsyncContentProvider
 
getFailure() - Method in interface org.everit.http.client.async.AsyncContentProvider
Returns the error that has happened during processing the content of this provider or Optional.empty() if there was no failure.
getFailure() - Method in class org.everit.http.client.async.AutoCloseAsyncContentProvider
 
getHeaders() - Method in class org.everit.http.client.HttpRequest
Headers that are sent with the HTTP request.
getHeaders() - Method in class org.everit.http.client.HttpResponse
The headers of the HTTP response.
getHeaders() - Method in class org.everit.http.client.Part
 
getMethod() - Method in class org.everit.http.client.HttpRequest
Method of the HTTP request.
getStatus() - Method in class org.everit.http.client.HttpResponse
The status of the HTTP response.
getUrl() - Method in class org.everit.http.client.HttpRequest
URL with query params of the HTTP request.

H

handleErrorFromInput(Throwable) - Method in class org.everit.http.client.async.AbstractAsyncContentProvider
 
handleSuccess() - Method in class org.everit.http.client.async.AbstractAsyncContentProvider
 
hashCode() - Method in class org.everit.http.client.MediaType
 
headers(Map<String, String>) - Method in class org.everit.http.client.HttpRequest.Builder
Headers that are sent with the HTTP request.
headers(Map<String, String>) - Method in class org.everit.http.client.HttpResponse.Builder
The headers of the HTTP response.
HttpClient - Interface in org.everit.http.client
API of sending asynchronous HTTP calls.
HttpMethod - Enum in org.everit.http.client
HTTP request method types.
HttpRequest - Class in org.everit.http.client
An HTTP request.
HttpRequest.Builder - Class in org.everit.http.client
Builder to build HttpRequest.
HttpResponse - Class in org.everit.http.client
An HTTP response that is returned as the result of a HttpRequest.
HttpResponse.Builder - Class in org.everit.http.client
Builder to build HttpResponse.
HttpResponseAbortException - Exception in org.everit.http.client
Thrown when an AsyncContentProvider is closed before its content is fully read.
HttpResponseAbortException() - Constructor for exception org.everit.http.client.HttpResponseAbortException
 
HttpUtil - Class in org.everit.http.client
Helper functions to use the library.

I

InputStreamAsyncContentProvider - Class in org.everit.http.client.async
Implementation of AsyncContentProvider that gets the reads from an InputStream.
InputStreamAsyncContentProvider(InputStream, Optional<Long>, Optional<MediaType>, int) - Constructor for class org.everit.http.client.async.InputStreamAsyncContentProvider
Constructor.
isClosed() - Method in class org.everit.http.client.async.AbstractAsyncContentProvider
 
isClosed() - Method in interface org.everit.http.client.async.AsyncContentProvider
Returns whether this provider is closed or not.
isClosed() - Method in class org.everit.http.client.async.AutoCloseAsyncContentProvider
 

M

MediaType - Class in org.everit.http.client
An RFC 2045 Media Type, appropriate to describe the content type of an HTTP request or response body.
method(HttpMethod) - Method in class org.everit.http.client.HttpRequest.Builder
Method of the HTTP request.
MultiPartAsyncContentProvider - Class in org.everit.http.client
Helper class to send HTTP requests with multipart/form-data content type.

O

onContent(AsyncContentListener) - Method in class org.everit.http.client.async.AbstractAsyncContentProvider
 
onContent(ByteBuffer, Runnable) - Method in interface org.everit.http.client.async.AbstractAsyncContentProvider.OnlyProcessedHandlingAsyncContentListener
 
onContent(ByteBuffer, AsyncCallback) - Method in interface org.everit.http.client.async.AsyncContentListener
Called by the AsyncContentProvider when new chunk of data has arrived.
onContent(AsyncContentListener) - Method in interface org.everit.http.client.async.AsyncContentProvider
Registering a listener that will be notified if new content is available.
onContent(AsyncContentListener) - Method in class org.everit.http.client.async.AutoCloseAsyncContentProvider
 
onError(Consumer<Throwable>) - Method in class org.everit.http.client.async.AbstractAsyncContentProvider
 
onError(Consumer<Throwable>) - Method in interface org.everit.http.client.async.AsyncContentProvider
Registering a listener that is called if there is an error delivering the data or processing of the data is failed either via AsyncCallback.failed(Throwable) call or via an error during calling the registered listener of AsyncContentProvider.onContent(AsyncContentListener) or AsyncContentProvider.onSuccess(Runnable) functions.
onError(Consumer<Throwable>) - Method in class org.everit.http.client.async.AutoCloseAsyncContentProvider
 
onSuccess(Runnable) - Method in class org.everit.http.client.async.AbstractAsyncContentProvider
 
onSuccess(Runnable) - Method in interface org.everit.http.client.async.AsyncContentProvider
Registering an action that will be called when all of the chunks are delivered.
onSuccess(Runnable) - Method in class org.everit.http.client.async.AutoCloseAsyncContentProvider
 
org.everit.http.client - package org.everit.http.client
 
org.everit.http.client.async - package org.everit.http.client.async
 

P

parse(String) - Static method in class org.everit.http.client.MediaType
Returns a media type for string.
Part - Class in org.everit.http.client
One part from a multipart request.
Part(String, Optional<String>, Optional<String>, AsyncContentProvider, Map<String, String>) - Constructor for class org.everit.http.client.Part
Constructor.
processed() - Method in interface org.everit.http.client.async.AsyncCallback
Notifies the AsyncContentProvider that the last chunk of data is processed, so the next chunk can be delivered.
provideNextChunk(Consumer<ByteBuffer>) - Method in class org.everit.http.client.async.AbstractAsyncContentProvider
 
provideNextChunk(Consumer<ByteBuffer>) - Method in class org.everit.http.client.async.ByteArrayAsyncContentProvider
 
provideNextChunk(Consumer<ByteBuffer>) - Method in class org.everit.http.client.async.ConcatenatedAsyncContentProvider
 
provideNextChunk(Consumer<ByteBuffer>) - Method in class org.everit.http.client.async.InputStreamAsyncContentProvider
 
provideNextChunk(Consumer<ByteBuffer>) - Method in class org.everit.http.client.async.ReadableByteChannelAsyncContentProvider
 

R

ReadableByteChannelAsyncContentProvider - Class in org.everit.http.client.async
Implementation of AsyncContentProvider that gets the reads from a ReadableByteChannel.
ReadableByteChannelAsyncContentProvider(ReadableByteChannel, Optional<Long>, Optional<MediaType>, int) - Constructor for class org.everit.http.client.async.ReadableByteChannelAsyncContentProvider
Constructor.
readAllBytes(AsyncContentProvider) - Static method in class org.everit.http.client.async.AsyncContentUtil
Reads all chunks from an AsyncContentProvider and returns the result as one byte array.
readString(AsyncContentProvider, Charset) - Static method in class org.everit.http.client.async.AsyncContentUtil
Reads all chunks from a provider and converts them to string.

S

send(HttpRequest) - Method in interface org.everit.http.client.HttpClient
Sends an HTTP call.
status(int) - Method in class org.everit.http.client.HttpResponse.Builder
The status of the HTTP response.
subtype() - Method in class org.everit.http.client.MediaType
Returns a specific media subtype, such as "plain" or "png", "mpeg", "mp4" or "xml".

T

toString() - Method in class org.everit.http.client.MediaType
Returns the encoded media type, like "text/plain; charset=utf-8", appropriate for use in a Content-Type header.
toString() - Method in class org.everit.http.client.Part
 
type() - Method in class org.everit.http.client.MediaType
Returns the high-level media type, such as "text", "image", "audio", "video", or "application".

U

url(String) - Method in class org.everit.http.client.HttpRequest.Builder
URL with query params of the HTTP request.

V

valueOf(String) - Static method in enum org.everit.http.client.HttpMethod
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.everit.http.client.HttpMethod
Returns an array containing the constants of this enum type, in the order they are declared.
A B C D E F G H I M O P R S T U V 
Skip navigation links

Copyright © 2011–2019 Everit Kft.. All rights reserved.