Index
All Classes and Interfaces|All Packages|Serialized Form
A
- AbstractMethod - Class in org.dmfs.httpessentials.methods
-
An abstract
HttpMethod. - AbstractMethod(String, boolean) - Constructor for class org.dmfs.httpessentials.methods.AbstractMethod
-
Instantiates a new
HttpMethodwith the given verb. - ACCEPTED - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 202 Accepted
B
- BAD_GATEWAY - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 502 Bad Gateway
- BAD_REQUEST - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 400 Bad Request
C
- charset(String) - Method in interface org.dmfs.httpessentials.types.MediaType
-
Returns the value of the charset parameter of this content type.
- ClientErrorException - Exception in org.dmfs.httpessentials.exceptions
-
This is a special
UnexpectedStatusExceptionfor4xxstatus codes (i.e. client errors). - ClientErrorException(HttpStatus) - Constructor for exception org.dmfs.httpessentials.exceptions.ClientErrorException
-
Create a new
ClientErrorException. - ClientErrorException(HttpStatus, String) - Constructor for exception org.dmfs.httpessentials.exceptions.ClientErrorException
-
Create a new
ClientErrorExceptionwith a message. - CONFLICT - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 409 Conflict
- CONNECT - Static variable in interface org.dmfs.httpessentials.HttpMethod
-
HTTP Method CONNECT
- contains(HeaderType<?>) - Method in interface org.dmfs.httpessentials.headers.Headers
-
Returns whether these Headers contain a
Headerof the givenHeaderType. - contentLength() - Method in interface org.dmfs.httpessentials.client.HttpRequestEntity
-
Returns the length of the content, if known.
- contentLength() - Method in interface org.dmfs.httpessentials.client.HttpResponseEntity
-
Returns the length of the content, if known.
- contentStream() - Method in interface org.dmfs.httpessentials.client.HttpResponseEntity
-
Returns the content
InputStreamof the entity. - contentType() - Method in interface org.dmfs.httpessentials.client.HttpRequestEntity
-
Returns the
MediaTypeof the entity, if known. - contentType() - Method in interface org.dmfs.httpessentials.client.HttpResponseEntity
-
Returns the
MediaTypeof the entity, if known. - CONTINUE - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 100 Continue
- count() - Method in exception org.dmfs.httpessentials.exceptions.TooManyRedirectsException
-
Get the number of redirects that has led to this exception.
- CREATED - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 201 Created
D
- DELETE - Static variable in interface org.dmfs.httpessentials.HttpMethod
-
HTTP Method DELETE
E
- entity(ValueType) - Method in interface org.dmfs.httpessentials.headers.HeaderType
-
Factory method to create
Headers of this type from a value. - entity(ValueType) - Method in interface org.dmfs.httpessentials.parameters.ParameterType
-
Factory method to create
Parameters of this type from a value. - entity(ValueType) - Method in interface org.dmfs.httpessentials.typedentity.EntityType
-
Factory method to create
Entitys of thisEntityTypefrom a value. - Entity<ValueType> - Interface in org.dmfs.httpessentials.typedentity
-
Interface of an entity that has a specific
EntityTypeand a value. - EntityConverter<ValueType> - Interface in org.dmfs.httpessentials.typedentity
-
Helper to convert
Entityvalues to instances of their respectiveValueTypeand back to String representations. - entityFromString(String) - Method in interface org.dmfs.httpessentials.headers.HeaderType
- entityFromString(String) - Method in interface org.dmfs.httpessentials.parameters.ParameterType
- entityFromString(String) - Method in interface org.dmfs.httpessentials.typedentity.EntityType
- EntityType<ValueType> - Interface in org.dmfs.httpessentials.typedentity
-
Represents type of an
Entity. - equals(Object) - Method in interface org.dmfs.httpessentials.HttpStatus
- equals(Object) - Method in class org.dmfs.httpessentials.methods.AbstractMethod
- equals(Object) - Method in class org.dmfs.httpessentials.status.NoneHttpStatus
- equals(Object) - Method in class org.dmfs.httpessentials.status.SimpleHttpStatus
- equals(Object) - Method in class org.dmfs.httpessentials.status.StatusLineHttpStatus
- execute(URI, HttpRequest<T>) - Method in interface org.dmfs.httpessentials.client.HttpRequestExecutor
-
Sends the given
HttpRequestto the givenURIand returns the result. - EXPECTATION_FAILED - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 417 Expectation Failed
F
- FAILED_DEPENDENCY - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 424 Failed Dependency (WebDAV)
- firstParameter(ParameterType<T>, T) - Method in interface org.dmfs.httpessentials.parameters.Parametrized
-
Returns the first
Parameterof the given type or a parameter with a default value if no such parameter exists. - FORBIDDEN - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 403 Forbidden
- FOUND - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 302 Found
G
- GATEWAY_TIMEOUT - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 504 Gateway Timeout
- GET - Static variable in interface org.dmfs.httpessentials.HttpMethod
-
HTTP Method GET
- GONE - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 410 Gone
H
- handleResponse(HttpResponse) - Method in interface org.dmfs.httpessentials.client.HttpResponseHandler
-
Actually handles the
HttpResponse. - hashCode() - Method in interface org.dmfs.httpessentials.HttpStatus
- hashCode() - Method in class org.dmfs.httpessentials.methods.AbstractMethod
- hashCode() - Method in class org.dmfs.httpessentials.status.NoneHttpStatus
- hashCode() - Method in class org.dmfs.httpessentials.status.SimpleHttpStatus
- hashCode() - Method in class org.dmfs.httpessentials.status.StatusLineHttpStatus
- hasParameter(ParameterType<T>) - Method in interface org.dmfs.httpessentials.parameters.Parametrized
-
Checks whether this object has a
Parameterof the givenParameterType. - HEAD - Static variable in interface org.dmfs.httpessentials.HttpMethod
-
HTTP Method HEAD
- header(ListHeaderType<T>) - Method in interface org.dmfs.httpessentials.headers.Headers
-
Returns the value of the header of the given
ListHeaderType. - header(SingletonHeaderType<T>) - Method in interface org.dmfs.httpessentials.headers.Headers
-
Returns the value of the header of the given
SingletonHeaderType. - Header<ValueType> - Interface in org.dmfs.httpessentials.headers
-
Interface of an HTTP header.
- headers() - Method in interface org.dmfs.httpessentials.client.HttpRequest
- headers() - Method in interface org.dmfs.httpessentials.client.HttpResponse
-
Returns the response headers.
- Headers - Interface in org.dmfs.httpessentials.headers
-
Interface of an object that holds a list of
Headers. - HeaderType<ValueType> - Interface in org.dmfs.httpessentials.headers
-
Represents a header type.
- HTTP_VERSION_NOT_SUPPORTED - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 505 HTTP Version Not Supported
- HttpException - Exception in org.dmfs.httpessentials.exceptions
-
An
Exceptionthat's thrown when an error at HTTP level occurred. - HttpException(String) - Constructor for exception org.dmfs.httpessentials.exceptions.HttpException
-
Create a new
HttpExceptionwith a message. - HttpException(String, Throwable) - Constructor for exception org.dmfs.httpessentials.exceptions.HttpException
-
Create a new
HttpExceptionwith a message and a cause. - HttpMethod - Interface in org.dmfs.httpessentials
-
Represents an HTTP method and provides static members for HTTP methods defined in RFC 7231, section 4.3 and RFC 5789
- HttpRequest<T> - Interface in org.dmfs.httpessentials.client
-
Defines an interface of an HTTP request.
- HttpRequestEntity - Interface in org.dmfs.httpessentials.client
-
Defines an interface of an HTTP message request body entity.
- HttpRequestExecutor - Interface in org.dmfs.httpessentials.client
-
The interface of an instance that knows how to execute an
HttpRequest. - HttpResponse - Interface in org.dmfs.httpessentials.client
-
An interface of an HTTP response object.
- HttpResponseEntity - Interface in org.dmfs.httpessentials.client
-
Defines an interface of an HTTP response message body entity.
- HttpResponseHandler<T> - Interface in org.dmfs.httpessentials.client
-
An interface of a handler for responses.
- HttpStatus - Interface in org.dmfs.httpessentials
-
Interface of an HTTP status.
I
- IdempotentMethod - Class in org.dmfs.httpessentials.methods
-
An idempotent
HttpMethodthat's not safe. - IdempotentMethod(String, boolean) - Constructor for class org.dmfs.httpessentials.methods.IdempotentMethod
- INSUFFICIENT_STORAGE - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 507 Insufficient Storage (WebDAV)
- INTERNAL_SERVER_ERROR - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 500 Internal Server Error
- isClientError() - Method in interface org.dmfs.httpessentials.HttpStatus
-
Returns whether this status represents a client error status code.
- isClientError() - Method in class org.dmfs.httpessentials.status.NoneHttpStatus
- isClientError() - Method in class org.dmfs.httpessentials.status.SimpleHttpStatus
- isClientError() - Method in class org.dmfs.httpessentials.status.StatusLineHttpStatus
- isIdempotent() - Method in interface org.dmfs.httpessentials.HttpMethod
-
Returns if this request method is idempotent, which means that sending multiple identical requests with that method has the same effect as sending one single request to the server.
- isIdempotent() - Method in class org.dmfs.httpessentials.methods.IdempotentMethod
- isIdempotent() - Method in class org.dmfs.httpessentials.methods.Method
- isIdempotent() - Method in class org.dmfs.httpessentials.methods.SafeMethod
- isInformational() - Method in interface org.dmfs.httpessentials.HttpStatus
-
Returns whether this represents an informational status code.
- isInformational() - Method in class org.dmfs.httpessentials.status.NoneHttpStatus
- isInformational() - Method in class org.dmfs.httpessentials.status.SimpleHttpStatus
- isInformational() - Method in class org.dmfs.httpessentials.status.StatusLineHttpStatus
- isRedirect() - Method in interface org.dmfs.httpessentials.HttpStatus
-
Returns whether this status represents a redirection status code.
- isRedirect() - Method in class org.dmfs.httpessentials.status.NoneHttpStatus
- isRedirect() - Method in class org.dmfs.httpessentials.status.SimpleHttpStatus
- isRedirect() - Method in class org.dmfs.httpessentials.status.StatusLineHttpStatus
- isSafe() - Method in interface org.dmfs.httpessentials.HttpMethod
-
Returns if this request method is safe, which means that the request is not intended and not expected to change any state on the server.
- isSafe() - Method in class org.dmfs.httpessentials.methods.IdempotentMethod
- isSafe() - Method in class org.dmfs.httpessentials.methods.Method
- isSafe() - Method in class org.dmfs.httpessentials.methods.SafeMethod
- isServerError() - Method in interface org.dmfs.httpessentials.HttpStatus
-
Returns whether this status represents a server error status code.
- isServerError() - Method in class org.dmfs.httpessentials.status.NoneHttpStatus
- isServerError() - Method in class org.dmfs.httpessentials.status.SimpleHttpStatus
- isServerError() - Method in class org.dmfs.httpessentials.status.StatusLineHttpStatus
- isSuccess() - Method in interface org.dmfs.httpessentials.HttpStatus
-
Returns whether this status represents a success status code.
- isSuccess() - Method in class org.dmfs.httpessentials.status.NoneHttpStatus
- isSuccess() - Method in class org.dmfs.httpessentials.status.SimpleHttpStatus
- isSuccess() - Method in class org.dmfs.httpessentials.status.StatusLineHttpStatus
L
- LENGTH_REQUIRED - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 411 Length Required
- ListHeaderType<ValueType> - Interface in org.dmfs.httpessentials.headers
-
Represents a header type.
- LOCKED - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 423 Locked (WebDAV)
M
- mainType() - Method in interface org.dmfs.httpessentials.types.MediaType
-
Returns the main type.
- MediaType - Interface in org.dmfs.httpessentials.types
-
Interface of media types as defined in RFC 2045, Section 5 and RFC 7231, Section 3.1.1.1
- merged(Header<List<ValueType>>, Header<List<ValueType>>) - Method in interface org.dmfs.httpessentials.headers.ListHeaderType
- method() - Method in interface org.dmfs.httpessentials.client.HttpRequest
-
Returns the HTTP method of this request.
- Method - Class in org.dmfs.httpessentials.methods
-
A
HttpMethodthat's neither safe nor idempotent. - Method(String, boolean) - Constructor for class org.dmfs.httpessentials.methods.Method
- METHOD_NOT_ALLOWED - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 405 Method Not Allowed
- MOVED_PERMANENTLY - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 301 Moved Permanently
- MULTIPLE_CHOICES - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 300 Multiple Choices
- MULTISTATUS - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 207 Multistatus (WebDAV)
N
- name() - Method in interface org.dmfs.httpessentials.headers.HeaderType
-
Returns the name of the header.
- name() - Method in interface org.dmfs.httpessentials.parameters.ParameterType
-
Returns the name of the parameter.
- name() - Method in interface org.dmfs.httpessentials.typedentity.EntityType
-
Returns the name of the type.
- newLocation() - Method in exception org.dmfs.httpessentials.exceptions.RedirectionException
-
Returns the new
URIas returned by the server, may benullfor some status codes. - NO_CONTENT - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 204 No Content
- NON_AUTHORITATIVE_INFORMATION - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 203 Non-Authoritative Information
- NONE - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
A dummy HTTP status which can be used to return "no status".
- NoneHttpStatus - Class in org.dmfs.httpessentials.status
-
Represents an
HttpStatusfor "no status". - NoneHttpStatus() - Constructor for class org.dmfs.httpessentials.status.NoneHttpStatus
-
Creates an
HttpStatusthat represents a non existing status. - NOT_ACCEPTABLE - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 406 Not Acceptable
- NOT_FOUND - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 404 Not Found
- NOT_IMPLEMENTED - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 501 Not Implemented
- NOT_MODIFIED - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 304 Not Modified
- NotFoundException - Exception in org.dmfs.httpessentials.exceptions
-
This Exception is thrown when an unhandled
HttpStatus.NOT_FOUNDstatus code occurs. - NotFoundException(URI) - Constructor for exception org.dmfs.httpessentials.exceptions.NotFoundException
-
Create a new
NotFoundException. - NotFoundException(URI, String) - Constructor for exception org.dmfs.httpessentials.exceptions.NotFoundException
-
Create a new
NotFoundExceptionwith a message.
O
- OK - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 200 OK
- OPTIONS - Static variable in interface org.dmfs.httpessentials.HttpMethod
-
HTTP Method OPTIONS
- org.dmfs.httpessentials - package org.dmfs.httpessentials
- org.dmfs.httpessentials.client - package org.dmfs.httpessentials.client
- org.dmfs.httpessentials.exceptions - package org.dmfs.httpessentials.exceptions
- org.dmfs.httpessentials.headers - package org.dmfs.httpessentials.headers
- org.dmfs.httpessentials.methods - package org.dmfs.httpessentials.methods
- org.dmfs.httpessentials.parameters - package org.dmfs.httpessentials.parameters
- org.dmfs.httpessentials.status - package org.dmfs.httpessentials.status
- org.dmfs.httpessentials.typedentity - package org.dmfs.httpessentials.typedentity
- org.dmfs.httpessentials.types - package org.dmfs.httpessentials.types
P
- Parameter<ValueType> - Interface in org.dmfs.httpessentials.parameters
-
The interface of a special
Entitythat represents a parameter. - parameters(ParameterType<T>) - Method in interface org.dmfs.httpessentials.parameters.Parametrized
- ParameterType<ValueType> - Interface in org.dmfs.httpessentials.parameters
-
Represents the type of a parameter.
- Parametrized - Interface in org.dmfs.httpessentials.parameters
-
Interface of an object that has typed parameters.
- PARTIAL_CONTENT - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 206 Partial Content
- PATCH - Static variable in interface org.dmfs.httpessentials.HttpMethod
-
HTTP Method PATCH
- PAYLOAD_TOO_LARGE - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 413 Payload Too Large
- PAYMENT_REQUIRED - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 402 Payment Required
- PERMANENT_REDIRECT - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 308 Permanent Redirect
- POST - Static variable in interface org.dmfs.httpessentials.HttpMethod
-
HTTP Method POST
- PRECONDITION_FAILED - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 412 Precondition Failed
- PROCESSING - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 102 Processing (WebDAV)
- ProtocolError - Exception in org.dmfs.httpessentials.exceptions
-
An
Exceptionthat's thrown when an error at application level occurred while handling a response. - ProtocolError(String) - Constructor for exception org.dmfs.httpessentials.exceptions.ProtocolError
-
Create a new
ProtocolErrorwith a message. - ProtocolError(String, Throwable) - Constructor for exception org.dmfs.httpessentials.exceptions.ProtocolError
-
Create a new
ProtocolErrorwith a message and a cause. - ProtocolException - Exception in org.dmfs.httpessentials.exceptions
-
An
Exceptionthat's thrown when an unrecoverable protocol error at application level occurred while handling a response. - ProtocolException(String) - Constructor for exception org.dmfs.httpessentials.exceptions.ProtocolException
-
Create a new
ProtocolExceptionwith a message. - ProtocolException(String, Throwable) - Constructor for exception org.dmfs.httpessentials.exceptions.ProtocolException
-
Create a new
ProtocolExceptionwith a message and a cause. - PROXY_AUTHENTICATION_REQUIRED - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 407 Proxy Authentication Required
- PUT - Static variable in interface org.dmfs.httpessentials.HttpMethod
-
HTTP Method PUT
R
- reason() - Method in interface org.dmfs.httpessentials.HttpStatus
-
Returns the reason phrase of this status code.
- reason() - Method in class org.dmfs.httpessentials.status.NoneHttpStatus
- reason() - Method in class org.dmfs.httpessentials.status.SimpleHttpStatus
- reason() - Method in class org.dmfs.httpessentials.status.StatusLineHttpStatus
- redirectingLocation() - Method in exception org.dmfs.httpessentials.exceptions.RedirectionException
-
Returns the
URIof the location that returned the redirect. - RedirectionException - Exception in org.dmfs.httpessentials.exceptions
-
An
Exceptionthat's thrown when the server returns a (unhandled) redirect. - RedirectionException(HttpStatus, String, URI, URI) - Constructor for exception org.dmfs.httpessentials.exceptions.RedirectionException
- RedirectionException(HttpStatus, URI, URI) - Constructor for exception org.dmfs.httpessentials.exceptions.RedirectionException
- RedirectionLoopException - Exception in org.dmfs.httpessentials.exceptions
-
An
Exceptionthat's thrown when a redirection loop has been detected. - RedirectionLoopException(HttpStatus, URI, URI) - Constructor for exception org.dmfs.httpessentials.exceptions.RedirectionLoopException
-
Create a new redirection loop exception for the given status, source and destination.
- REQUEST_ENTITY_TOO_LARGE - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
Deprecated.
- REQUEST_TIMEOUT - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 408 Request Timeout
- REQUEST_URI_TOO_LONG - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
Deprecated.
- requestEntity() - Method in interface org.dmfs.httpessentials.client.HttpRequest
-
Returns an
HttpRequestEntitythat contains the body of this request. - requestUri() - Method in interface org.dmfs.httpessentials.client.HttpResponse
-
Returns the
URIthe request was originally sent to. - RESET_CONTENT - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 205 Reset Content
- responseEntity() - Method in interface org.dmfs.httpessentials.client.HttpResponse
-
Returns an
HttpResponseEntityrepresenting the data in the response. - responseHandler(HttpResponse) - Method in interface org.dmfs.httpessentials.client.HttpRequest
-
Returns a handler for the response.
- responseUri() - Method in interface org.dmfs.httpessentials.client.HttpResponse
-
Returns the
URIof the server instance that actually handled the request.
S
- SafeMethod - Class in org.dmfs.httpessentials.methods
-
A safe
HttpMethod. - SafeMethod(String, boolean) - Constructor for class org.dmfs.httpessentials.methods.SafeMethod
- SEE_OTHER - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 303 See Other
- ServerErrorException - Exception in org.dmfs.httpessentials.exceptions
-
This is a special
UnexpectedStatusExceptionfor5xxstatus codes (i.e. server errors). - ServerErrorException(HttpStatus) - Constructor for exception org.dmfs.httpessentials.exceptions.ServerErrorException
-
Create a new
ServerErrorException. - ServerErrorException(HttpStatus, String) - Constructor for exception org.dmfs.httpessentials.exceptions.ServerErrorException
-
Create a new
ServerErrorExceptionwith a message. - SERVICE_UNAVAILABLE - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 503 Service Unavailable
- SimpleHttpStatus - Class in org.dmfs.httpessentials.status
-
Simple implementation of an
HttpStatus. - SimpleHttpStatus(int, String) - Constructor for class org.dmfs.httpessentials.status.SimpleHttpStatus
-
Initialize an HttpStatus object.
- SingletonHeaderType<ValueType> - Interface in org.dmfs.httpessentials.headers
-
Represents a header type.
- status() - Method in interface org.dmfs.httpessentials.client.HttpResponse
-
Returns the status of the response.
- status() - Method in exception org.dmfs.httpessentials.exceptions.UnexpectedStatusException
-
Returns the
HttpStatusas returned by the server. - statusCode() - Method in interface org.dmfs.httpessentials.HttpStatus
-
Returns the status code.
- statusCode() - Method in class org.dmfs.httpessentials.status.NoneHttpStatus
- statusCode() - Method in class org.dmfs.httpessentials.status.SimpleHttpStatus
- statusCode() - Method in class org.dmfs.httpessentials.status.StatusLineHttpStatus
- StatusLineHttpStatus - Class in org.dmfs.httpessentials.status
-
An
HttpStatusthat's derived from an HTTP status line. - StatusLineHttpStatus(String) - Constructor for class org.dmfs.httpessentials.status.StatusLineHttpStatus
-
Creates an HttpStatus object from a given status line
- subType() - Method in interface org.dmfs.httpessentials.types.MediaType
-
Returns the sub-type of this content type.
- supportsRequestPayload() - Method in interface org.dmfs.httpessentials.HttpMethod
-
Returns whether this
HttpMethodallows to send a message body. - supportsRequestPayload() - Method in class org.dmfs.httpessentials.methods.AbstractMethod
- SWITCHING_PROTOCOLS - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 101 Switching Protocols
T
- TEMPORARY_REDIRECT - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 307 Temporary Redirect
- TooManyRedirectsException - Exception in org.dmfs.httpessentials.exceptions
-
An
Exceptionthat's thrown when the client has been redirected too often. - TooManyRedirectsException(HttpStatus, int, URI, URI) - Constructor for exception org.dmfs.httpessentials.exceptions.TooManyRedirectsException
-
Create a new
TooManyRedirectsExceptionfor the given status, source and destination. - toString() - Method in class org.dmfs.httpessentials.status.NoneHttpStatus
- toString() - Method in interface org.dmfs.httpessentials.typedentity.Entity
-
Returns the String representation of the entity value.
- TRACE - Static variable in interface org.dmfs.httpessentials.HttpMethod
-
HTTP Method TRACE
- type() - Method in interface org.dmfs.httpessentials.headers.Header
-
Returns the
HeaderTypeof this header. - type() - Method in interface org.dmfs.httpessentials.parameters.Parameter
-
Returns the
ParameterTypeof this parameter. - type() - Method in interface org.dmfs.httpessentials.typedentity.Entity
-
Returns the
EntityTypeof this value. - type() - Method in interface org.dmfs.httpessentials.types.MediaType
-
Returns the content type in the form
<maintype>/<subtype>.
U
- UNAUTHORIZED - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 401 Unauthorized
- UnauthorizedException - Exception in org.dmfs.httpessentials.exceptions
-
This Exception is thrown when an unhandled
HttpStatus.UNAUTHORIZEDstatus code occurs. - UnauthorizedException() - Constructor for exception org.dmfs.httpessentials.exceptions.UnauthorizedException
-
Create a new
UnauthorizedException. - UnauthorizedException(String) - Constructor for exception org.dmfs.httpessentials.exceptions.UnauthorizedException
-
Create a new
UnauthorizedExceptionwith a message. - UnexpectedStatusException - Exception in org.dmfs.httpessentials.exceptions
-
An exception that's thrown when a response status code was unexpected.
- UnexpectedStatusException(HttpStatus) - Constructor for exception org.dmfs.httpessentials.exceptions.UnexpectedStatusException
-
Create a new
UnexpectedStatusException. - UnexpectedStatusException(HttpStatus, String) - Constructor for exception org.dmfs.httpessentials.exceptions.UnexpectedStatusException
-
Create a new
UnexpectedStatusExceptionwith a message. - UNPROCESSABLE_ENTITY - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 422 Unprocessable Entity (WebDAV)
- UNSUPPORTED_MEDIA_TYPE - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 415 Unsupported Media Type
- UPGRADE_REQUIRED - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 426 Upgrade Required
- uri() - Method in exception org.dmfs.httpessentials.exceptions.NotFoundException
-
Returns the URI that was not found.
- URI_TOO_LONG - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 414 URI Too Long
- USE_PROXY - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 305 Use Proxy
V
- value() - Method in interface org.dmfs.httpessentials.typedentity.Entity
-
Returns the actual value of this entity.
- value(String) - Method in interface org.dmfs.httpessentials.typedentity.EntityConverter
-
Parses the given string representation of a value into an instance of type
ValueType. - valueFromString(String) - Method in interface org.dmfs.httpessentials.typedentity.EntityType
-
Convert a string to a value of type <ValueType>
- valueString(ValueType) - Method in interface org.dmfs.httpessentials.headers.HeaderType
-
Returns the string representation of the given value as defined for this
HeaderType. - valueString(ValueType) - Method in interface org.dmfs.httpessentials.parameters.ParameterType
-
Returns the string representation of the given parameter value as defined for this
Parameter. - valueString(ValueType) - Method in interface org.dmfs.httpessentials.typedentity.EntityConverter
-
Renders the given entity value into its string representation.
- valueString(ValueType) - Method in interface org.dmfs.httpessentials.typedentity.EntityType
-
Returns the string representation of the given entity value as defined for this
EntityType. - VARIANT_ALSO_NEGOTIATES - Static variable in interface org.dmfs.httpessentials.HttpStatus
-
HTTP status: 506 Variant Also Negotiates (experimental)
- verb() - Method in interface org.dmfs.httpessentials.HttpMethod
-
Returns the HTTP verb of this method.
- verb() - Method in class org.dmfs.httpessentials.methods.AbstractMethod
W
- withHeader(Header<T>) - Method in interface org.dmfs.httpessentials.headers.Headers
-
Returns
Headersthat contain the given header. - withoutHeaderType(HeaderType<T>) - Method in interface org.dmfs.httpessentials.headers.Headers
-
Removes any header of the given
HeaderTypeand returns the resultingHeaders. - writeContent(OutputStream) - Method in interface org.dmfs.httpessentials.client.HttpRequestEntity
-
Writes the content to the given
OutputStream.
All Classes and Interfaces|All Packages|Serialized Form