Index

A B C D E F G H I L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

ACCEPT - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
ACCEPT_CHARSET - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
ACCEPT_ENCODING - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
ACCEPT_LANGUAGE - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
ACCEPTED - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
add(HttpCookie) - Method in class org.jdrupes.httpcodec.types.CookieList
Adds a cookie to the list.
add(Directive) - Method in class org.jdrupes.httpcodec.types.CacheControlDirectives
Adds a directive to the list.
addData(ByteBuffer) - Method in class org.jdrupes.httpcodec.util.FormUrlDecoder
Add the data in the buffer to the form data.
AGE - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
ALL_MEDIA - Static variable in class org.jdrupes.httpcodec.types.MediaBase.MediaTypePair
 
ALL_MEDIA - Static variable in class org.jdrupes.httpcodec.types.MediaRange
 
ALLOW - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
append(byte) - Method in class org.jdrupes.httpcodec.util.DynamicByteArray
Appends the given byte, growing the array if necessary.
append(byte[], int, int) - Method in class org.jdrupes.httpcodec.util.DynamicByteArray
Appends the given bytes, growing the array if necessary.
appendIfNotContained(String) - Method in class org.jdrupes.httpcodec.types.StringList
Appends the value to the list of values if it is not already in the list.
applicationData() - Method in class org.jdrupes.httpcodec.protocols.websocket.WsDefaultControlFrame
 
array() - Method in class org.jdrupes.httpcodec.util.DynamicByteArray
Returns the internal storage for the bytes.
asFieldValue() - Method in class org.jdrupes.httpcodec.protocols.http.HttpField
Returns the string representation of this field’s value.
asFieldValue(HttpCookie) - Method in class org.jdrupes.httpcodec.types.SetCookieStringConverter
 
asFieldValue(Instant) - Method in class org.jdrupes.httpcodec.types.InstantConverter
 
asFieldValue(CommentedValue<U>) - Method in class org.jdrupes.httpcodec.types.CommentedValue.CommentedValueConverter
 
asFieldValue(Directive) - Method in class org.jdrupes.httpcodec.types.Directive.DirectiveConverter
 
asFieldValue(Etag) - Method in class org.jdrupes.httpcodec.types.Etag.EtagConverter
 
asFieldValue(MediaBase.MediaTypePair) - Method in class org.jdrupes.httpcodec.types.MediaBase.MediaTypePairConverter
 
asFieldValue(P) - Method in class org.jdrupes.httpcodec.types.ParameterizedValue.ParamValueConverterBase
 
asFieldValue(T) - Method in interface org.jdrupes.httpcodec.types.Converter
Returns the representation of this value in a header field.
asFieldValue(T) - Method in class org.jdrupes.httpcodec.types.DefaultMultiValueConverter
 
asHeaderField() - Method in class org.jdrupes.httpcodec.protocols.http.HttpField
Returns the string representation of this header field as it appears in an HTTP message.
asHeaderField(String, T) - Method in interface org.jdrupes.httpcodec.types.Converter
Returns the string representation of this header field as it appears in an HTTP message.
asHeaderField(String, T) - Method in interface org.jdrupes.httpcodec.types.MultiValueConverter
Returns the string representation of this header field as it appears in an HTTP message.
assignBuffer(ByteBuffer) - Method in class org.jdrupes.httpcodec.util.ByteBufferOutputStream
Assign a new buffer to this output stream.
ASTERISK_REQUEST - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpRequest
The Constant ASTERISK_REQUEST.
augmentInitialRequest(HttpRequest) - Method in class org.jdrupes.httpcodec.plugin.UpgradeProvider
Add protocol specific information to a request with an Upgrade header field.
augmentInitialRequest(HttpRequest) - Method in class org.jdrupes.httpcodec.protocols.websocket.WsProtocolProvider
 
augmentInitialResponse(HttpResponse) - Method in class org.jdrupes.httpcodec.plugin.UpgradeProvider
Add any required information to the “switching protocols” response that is sent as the last package of the HTTP and starts the usage of the new protocol.
augmentInitialResponse(HttpResponse) - Method in class org.jdrupes.httpcodec.protocols.websocket.WsProtocolProvider
 
AUTHORIZATION - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
averageCharsPerByte() - Method in class org.jdrupes.httpcodec.util.OptimizedCharsetDecoder
 

B

BAD_GATEWAY - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
BAD_REQUEST - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
bodyCharset() - Method in class org.jdrupes.httpcodec.protocols.http.HttpCodec
 
build() - Method in class org.jdrupes.httpcodec.types.MediaType.Builder
 
build() - Method in class org.jdrupes.httpcodec.types.ParameterizedValue.Builder
Returns the object built.
builder() - Static method in class org.jdrupes.httpcodec.types.MediaRange
Creates a new builder for a media type.
builder() - Static method in class org.jdrupes.httpcodec.types.MediaType
Creates a new builder for a media type.
builder() - Static method in class org.jdrupes.httpcodec.types.ParameterizedValue
Creates a new builder for a parameterized value.
Builder(R) - Constructor for class org.jdrupes.httpcodec.types.ParameterizedValue.Builder
 
ByteBufferOutputStream - Class in org.jdrupes.httpcodec.util
An OutputStream that is backed by a ByteBuffer assigned to the stream.
ByteBufferOutputStream() - Constructor for class org.jdrupes.httpcodec.util.ByteBufferOutputStream
Creates a new instance with an unset overflow buffer size.
ByteBufferOutputStream(int) - Constructor for class org.jdrupes.httpcodec.util.ByteBufferOutputStream
Creates a new instance with the given overflow buffer size.
ByteBufferUtils - Class in org.jdrupes.httpcodec.util
Utilities for handling ByteBuffers
bytesWritten() - Method in class org.jdrupes.httpcodec.util.ByteBufferOutputStream
The number of bytes written to this output stream.

C

CACHE_CONTROL - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
CACHE_CONTROL_LIST - Static variable in class org.jdrupes.httpcodec.types.Converters
A converter for cache control directives.
CacheControlDirectives - Class in org.jdrupes.httpcodec.types
Represents a list of Cache-Control directives.
CacheControlDirectives() - Constructor for class org.jdrupes.httpcodec.types.CacheControlDirectives
Creates a new empty cookie list.
CacheControlDirectives(Collection<Directive>) - Constructor for class org.jdrupes.httpcodec.types.CacheControlDirectives
Creates a new list with items copied from the existing collection.
CHALLENGE_LIST - Static variable in class org.jdrupes.httpcodec.types.Converters
A converter for a list of challenges.
charset() - Method in class org.jdrupes.httpcodec.util.OptimizedCharsetDecoder
 
checkSwitchingResponse(HttpRequest, HttpResponse) - Method in class org.jdrupes.httpcodec.plugin.UpgradeProvider
Check the 101 Switching Protocol response for any problem indicators.
checkSwitchingResponse(HttpRequest, HttpResponse) - Method in class org.jdrupes.httpcodec.protocols.websocket.WsProtocolProvider
 
CHUNKED - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.TransferCoding
 
CHUNKED - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpDecoder.BodyMode
 
clear() - Method in class org.jdrupes.httpcodec.types.CacheControlDirectives
Removes all directives from the list.
clear() - Method in class org.jdrupes.httpcodec.types.CookieList
Removes all cookies from the list.
clear() - Method in class org.jdrupes.httpcodec.util.ByteBufferOutputStream
Clear any buffered data and prepares the buffer for reuse.
clear() - Method in class org.jdrupes.httpcodec.util.DynamicByteArray
Resets the position to 0.
clearHeaders() - Method in class org.jdrupes.httpcodec.protocols.http.HttpMessageHeader
Clear all headers.
ClientEngine<Q extends MessageHeader,R extends MessageHeader> - Class in org.jdrupes.httpcodec
An engine that can be used as a client.
ClientEngine(Encoder<Q, R>, Decoder<R, Q>) - Constructor for class org.jdrupes.httpcodec.ClientEngine
Creates a new instance.
close() - Method in class org.jdrupes.httpcodec.util.ByteBufferOutputStream
Does not have any effect.
CLOSE_RECEIVED - Enum constant in enum class org.jdrupes.httpcodec.protocols.websocket.WsCodec.ClosingState
 
CLOSE_SENT - Enum constant in enum class org.jdrupes.httpcodec.protocols.websocket.WsCodec.ClosingState
 
closeConnection() - Method in class org.jdrupes.httpcodec.Codec.Result
Indicates that the connection to the receiver of the response must be closed after sending any remaining data in the out buffer.
CLOSED - Enum constant in enum class org.jdrupes.httpcodec.protocols.websocket.WsCodec.ClosingState
 
closingState() - Method in class org.jdrupes.httpcodec.protocols.websocket.WsCodec
 
Codec - Interface in org.jdrupes.httpcodec
The base interface for all coders and decoders.
Codec.ProtocolSwitchResult - Interface in org.jdrupes.httpcodec
Results that indicate a protocol switch must implement this interface.
Codec.Result - Class in org.jdrupes.httpcodec
The common properties of the result types returned by the various codecs.
Codec.Result.Factory - Class in org.jdrupes.httpcodec
A base class for a factory that creates results.
CommentedValue<U> - Class in org.jdrupes.httpcodec.types
Represents a value with a optional comments such as value (comment).
CommentedValue(U) - Constructor for class org.jdrupes.httpcodec.types.CommentedValue
Creates a new object with the given value and no comment.
CommentedValue(U, String) - Constructor for class org.jdrupes.httpcodec.types.CommentedValue
Creates a new object with the given value and comment.
CommentedValue(U, String[]) - Constructor for class org.jdrupes.httpcodec.types.CommentedValue
Creates a new object with the given value and comments.
CommentedValue.CommentedValueConverter<U> - Class in org.jdrupes.httpcodec.types
 
CommentedValueConverter(Converter<U>) - Constructor for class org.jdrupes.httpcodec.types.CommentedValue.CommentedValueConverter
Creates a new converter with the given value converter.
commentLength(String, int) - Static method in class org.jdrupes.httpcodec.types.Converters
Determines the length of a comment in a header field.
comments() - Method in class org.jdrupes.httpcodec.types.CommentedValue
Returns the comments (without parenthesis).
compareTo(MediaRange) - Method in class org.jdrupes.httpcodec.types.MediaRange
 
COMPRESS - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.TransferCoding
 
computeIfAbsent(String, Supplier<T>) - Method in class org.jdrupes.httpcodec.protocols.http.HttpMessageHeader
Returns the header field with the given name, computing and adding it if it doesn’t exist.
computeIfAbsent(String, Converter<T>, Supplier<T>) - Method in class org.jdrupes.httpcodec.protocols.http.HttpMessageHeader
Returns the header field with the given name, computing and adding it if it doesn’t exist.
CONFLICT - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
CONNECTION - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
containerSupplier() - Method in class org.jdrupes.httpcodec.types.DefaultMultiValueConverter
 
containerSupplier() - Method in interface org.jdrupes.httpcodec.types.MultiValueConverter
Returns the container supplier
containsIgnoreCase(String) - Method in class org.jdrupes.httpcodec.types.StringList
Returns whether the list contains the given value, ignoring differences in the cases of the letters.
CONTENT_LENGTH - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
CONTENT_LOCATION - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
CONTENT_TYPE - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
contentType(URI) - Static method in class org.jdrupes.httpcodec.protocols.http.HttpResponse
Derives a media type from the given URI.
CONTINUE - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
converter() - Method in class org.jdrupes.httpcodec.protocols.http.HttpField
Returns the cconverter used by this field.
Converter<T> - Interface in org.jdrupes.httpcodec.types
Implemented by classes that convert between a value and its string representation in the HTTP header field.
Converters - Class in org.jdrupes.httpcodec.types
Utility methods and singletons for converters.
Converters.SameSiteAttribute - Enum Class in org.jdrupes.httpcodec.types
Used to control the generation of “Set-Cookie” header fields.
COOKIE - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
COOKIE_LIST - Static variable in class org.jdrupes.httpcodec.types.Converters
A converter for a list of cookies.
CookieList - Class in org.jdrupes.httpcodec.types
Represents a list of cookies.
CookieList() - Constructor for class org.jdrupes.httpcodec.types.CookieList
Creates a new empty cookie list.
CookieList(Collection<HttpCookie>) - Constructor for class org.jdrupes.httpcodec.types.CookieList
Creates a new list with items copied from the existing collection.
CookieList(Converters.SameSiteAttribute) - Constructor for class org.jdrupes.httpcodec.types.CookieList
Creates a new empty cookie list with the specified same-site attribute.
CREATED - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
createRequestDecoder(String) - Method in class org.jdrupes.httpcodec.plugin.UpgradeProvider
Creates a new request decoder for the protocol.
createRequestDecoder(String) - Method in class org.jdrupes.httpcodec.protocols.websocket.WsProtocolProvider
 
createRequestEncoder(String) - Method in class org.jdrupes.httpcodec.plugin.UpgradeProvider
Creates a new request encoder for the protocol.
createRequestEncoder(String) - Method in class org.jdrupes.httpcodec.protocols.websocket.WsProtocolProvider
 
createResponseDecoder(String) - Method in class org.jdrupes.httpcodec.plugin.UpgradeProvider
Creates a new response decoder for the protocol.
createResponseDecoder(String) - Method in class org.jdrupes.httpcodec.protocols.websocket.WsProtocolProvider
 
createResponseEncoder(String) - Method in class org.jdrupes.httpcodec.plugin.UpgradeProvider
Creates a new response encoder for the protocol.
createResponseEncoder(String) - Method in class org.jdrupes.httpcodec.protocols.websocket.WsProtocolProvider
 
CREDENTIALS - Static variable in class org.jdrupes.httpcodec.types.Converters
 
currentRequest() - Method in class org.jdrupes.httpcodec.ClientEngine
Returns the last encoded request.
currentRequest() - Method in class org.jdrupes.httpcodec.ServerEngine
Returns the last fully decoded request if it exists.

D

DATE - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
DATE_TIME - Static variable in class org.jdrupes.httpcodec.types.Converters
A date/time converter.
decode(ByteBuffer) - Method in class org.jdrupes.httpcodec.util.OptimizedCharsetDecoder
 
decode(ByteBuffer, Buffer, boolean) - Method in class org.jdrupes.httpcodec.ClientEngine
Convenience method to invoke the decoder’s decode method.
decode(ByteBuffer, Buffer, boolean) - Method in interface org.jdrupes.httpcodec.Decoder
Decodes the next chunk of data.
decode(ByteBuffer, Buffer, boolean) - Method in class org.jdrupes.httpcodec.protocols.http.client.HttpResponseDecoder
 
decode(ByteBuffer, Buffer, boolean) - Method in class org.jdrupes.httpcodec.protocols.http.HttpDecoder
Decodes the next chunk of data.
decode(ByteBuffer, Buffer, boolean) - Method in class org.jdrupes.httpcodec.protocols.http.server.HttpRequestDecoder
 
decode(ByteBuffer, Buffer, boolean) - Method in class org.jdrupes.httpcodec.protocols.websocket.WsDecoder
 
decode(ByteBuffer, Buffer, boolean) - Method in class org.jdrupes.httpcodec.ServerEngine
Decodes a request sent to the server.
decode(ByteBuffer, CharBuffer, boolean) - Method in class org.jdrupes.httpcodec.util.OptimizedCharsetDecoder
 
Decoder<T extends MessageHeader,R extends MessageHeader> - Interface in org.jdrupes.httpcodec
The general interface of a decoder.
Decoder.Result<R extends MessageHeader> - Class in org.jdrupes.httpcodec
The result from decoding.
Decoder.Result.Factory<R extends MessageHeader> - Class in org.jdrupes.httpcodec
The Factory for (extended) results.
decoding() - Method in interface org.jdrupes.httpcodec.Decoder
Returns the type of the messages decoded by this decoder.
decoding() - Method in class org.jdrupes.httpcodec.protocols.http.client.HttpResponseDecoder
 
decoding() - Method in class org.jdrupes.httpcodec.protocols.http.server.HttpRequestDecoder
 
decoding() - Method in class org.jdrupes.httpcodec.protocols.websocket.WsDecoder
 
decoding() - Method in class org.jdrupes.httpcodec.ServerEngine
Returns the type of the messages decoded by this server.
DefaultMultiValueConverter<T extends Iterable<V>,V> - Class in org.jdrupes.httpcodec.types
Used by by converters that convert header fields with a list of values.
DefaultMultiValueConverter(Supplier<T>, BiConsumer<T, V>, Converter<V>, String, boolean) - Constructor for class org.jdrupes.httpcodec.types.DefaultMultiValueConverter
Create a new converter.
DefaultMultiValueConverter(Supplier<T>, Converter<V>) - Constructor for class org.jdrupes.httpcodec.types.DefaultMultiValueConverter
Create a new converter for a container that implements Collection, does not generate separate header fields and uses a comma as separator.
DefaultMultiValueConverter(Supplier<T>, Converter<V>, String) - Constructor for class org.jdrupes.httpcodec.types.DefaultMultiValueConverter
Create a new converter for a container that implements Collection and does not generate separate header fields.
DEFLATE - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.TransferCoding
 
detectedCharset() - Method in class org.jdrupes.httpcodec.util.OptimizedCharsetDecoder
 
Directive - Class in org.jdrupes.httpcodec.types
Represents a directive.
Directive(String) - Constructor for class org.jdrupes.httpcodec.types.Directive
Creates a new directive.
Directive(String, Number) - Constructor for class org.jdrupes.httpcodec.types.Directive
Convenience constructor for a directive that has a number as value.
Directive(String, String) - Constructor for class org.jdrupes.httpcodec.types.Directive
Creates a new directive.
DIRECTIVE - Static variable in class org.jdrupes.httpcodec.types.Converters
A converter for a directive.
DIRECTIVE_LIST - Static variable in class org.jdrupes.httpcodec.types.Converters
A converter for a list of directives.
Directive.DirectiveConverter - Class in org.jdrupes.httpcodec.types
 
DirectiveConverter() - Constructor for class org.jdrupes.httpcodec.types.Directive.DirectiveConverter
 
DynamicByteArray - Class in org.jdrupes.httpcodec.util
A dynamically growing byte array.
DynamicByteArray(int) - Constructor for class org.jdrupes.httpcodec.util.DynamicByteArray
Creates the array with the given initial size.

E

EMPTY_IN - Static variable in interface org.jdrupes.httpcodec.Codec
An empty input buffer that can be used for codec invocations when the (expected) body data is not yet available.
encode(Buffer, ByteBuffer, boolean) - Method in class org.jdrupes.httpcodec.ClientEngine
Convenience method to invoke the encoder’s encode method.
encode(Buffer, ByteBuffer, boolean) - Method in interface org.jdrupes.httpcodec.Encoder
Encodes a message.
encode(Buffer, ByteBuffer, boolean) - Method in class org.jdrupes.httpcodec.protocols.http.HttpEncoder
Encodes a HTTP message.
encode(Buffer, ByteBuffer, boolean) - Method in class org.jdrupes.httpcodec.protocols.http.server.HttpResponseEncoder
 
encode(Buffer, ByteBuffer, boolean) - Method in class org.jdrupes.httpcodec.protocols.websocket.WsEncoder
 
encode(Buffer, ByteBuffer, boolean) - Method in class org.jdrupes.httpcodec.ServerEngine
Invokes the encoder’s encode method.
encode(ByteBuffer) - Method in class org.jdrupes.httpcodec.ClientEngine
Convenience method to invoke the encoder’s encode method.
encode(ByteBuffer) - Method in interface org.jdrupes.httpcodec.Encoder
Convenience method for invoking Encoder.encode(Buffer, ByteBuffer, boolean) with an empty in buffer and true.
encode(ByteBuffer) - Method in class org.jdrupes.httpcodec.ServerEngine
Invokes the encoder’s encode method.
encode(HttpRequest) - Method in class org.jdrupes.httpcodec.protocols.http.client.HttpRequestEncoder
 
encode(HttpResponse) - Method in class org.jdrupes.httpcodec.protocols.http.server.HttpResponseEncoder
 
encode(WsFrameHeader) - Method in class org.jdrupes.httpcodec.protocols.websocket.WsEncoder
 
encode(Q) - Method in class org.jdrupes.httpcodec.ClientEngine
Convenience method to invoke the encoder’s encode method.
encode(R) - Method in class org.jdrupes.httpcodec.ServerEngine
Encodes a response generated by the server.
encode(T) - Method in interface org.jdrupes.httpcodec.Encoder
Set the header of the message that is to be encoded.
encode(T) - Method in class org.jdrupes.httpcodec.protocols.http.HttpEncoder
Set a new HTTP message that is to be encoded.
Encoder<T extends MessageHeader,D extends MessageHeader> - Interface in org.jdrupes.httpcodec
The general interface of an encoder.
encoding() - Method in interface org.jdrupes.httpcodec.Encoder
Returns the type of the messages encoded by this encoder.
encoding() - Method in class org.jdrupes.httpcodec.protocols.http.client.HttpRequestEncoder
 
encoding() - Method in class org.jdrupes.httpcodec.protocols.http.server.HttpResponseEncoder
 
encoding() - Method in class org.jdrupes.httpcodec.protocols.websocket.WsEncoder
 
encoding() - Method in class org.jdrupes.httpcodec.ServerEngine
Returns the type of the messages encoded by this server.
Engine - Class in org.jdrupes.httpcodec
Represents an engine with an associated encoder and decoder.
Engine() - Constructor for class org.jdrupes.httpcodec.Engine
 
equals(Object) - Method in class org.jdrupes.httpcodec.Codec.Result
 
equals(Object) - Method in class org.jdrupes.httpcodec.Decoder.Result
 
equals(Object) - Method in class org.jdrupes.httpcodec.protocols.http.client.HttpResponseDecoder.Result
 
equals(Object) - Method in class org.jdrupes.httpcodec.protocols.http.server.HttpResponseEncoder.Result
 
equals(Object) - Method in class org.jdrupes.httpcodec.types.CommentedValue
 
equals(Object) - Method in class org.jdrupes.httpcodec.types.MediaBase.MediaTypePair
 
equals(Object) - Method in class org.jdrupes.httpcodec.types.ParameterizedValue
 
equals(Object) - Method in class org.jdrupes.httpcodec.util.OptimizedCharsetDecoder
 
Etag - Class in org.jdrupes.httpcodec.types
Represents an ETag.
Etag(String, boolean) - Constructor for class org.jdrupes.httpcodec.types.Etag
Create a new ETag.
ETAG - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
ETAG - Static variable in class org.jdrupes.httpcodec.types.Converters
A converter for an ETag header.
ETAG_LIST - Static variable in class org.jdrupes.httpcodec.types.Converters
 
Etag.EtagConverter - Class in org.jdrupes.httpcodec.types
 
EtagConverter() - Constructor for class org.jdrupes.httpcodec.types.Etag.EtagConverter
 
EXPECT - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
EXPECTATION_FAILED - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
EXPIRES - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 

F

Factory() - Constructor for class org.jdrupes.httpcodec.Codec.Result.Factory
 
Factory() - Constructor for class org.jdrupes.httpcodec.Decoder.Result.Factory
 
Factory() - Constructor for class org.jdrupes.httpcodec.protocols.http.client.HttpRequestEncoder.Result.Factory
 
Factory() - Constructor for class org.jdrupes.httpcodec.protocols.http.HttpDecoder.Result.Factory
 
Factory() - Constructor for class org.jdrupes.httpcodec.protocols.http.HttpEncoder.Result.Factory
 
Factory() - Constructor for class org.jdrupes.httpcodec.protocols.http.server.HttpResponseEncoder.Result.Factory
 
Factory() - Constructor for class org.jdrupes.httpcodec.protocols.websocket.WsDecoder.Result.Factory
 
Factory() - Constructor for class org.jdrupes.httpcodec.protocols.websocket.WsEncoder.Result.Factory
 
Factory(HttpResponseDecoder) - Constructor for class org.jdrupes.httpcodec.protocols.http.client.HttpResponseDecoder.Result.Factory
Creates a new factory for the given decoder.
Factory(HttpRequestDecoder) - Constructor for class org.jdrupes.httpcodec.protocols.http.server.HttpRequestDecoder.Result.Factory
Creates a new factory for the given decoder.
fields() - Method in class org.jdrupes.httpcodec.protocols.http.HttpMessageHeader
Returns all header fields as unmodifiable map.
fields() - Method in class org.jdrupes.httpcodec.util.FormUrlDecoder
Return the fields decoded from the data that has been added by FormUrlDecoder.addData(ByteBuffer).
findField(String, Converter<T>) - Method in class org.jdrupes.httpcodec.protocols.http.HttpMessageHeader
Returns the header field with the given type if it exists.
findStringValue(String) - Method in class org.jdrupes.httpcodec.protocols.http.HttpMessageHeader
Convenience method for getting the value of a string field.
findValue(String, Converter<T>) - Method in class org.jdrupes.httpcodec.protocols.http.HttpMessageHeader
Convenience method for getting the value of a header field.
flush(CharBuffer) - Method in class org.jdrupes.httpcodec.util.OptimizedCharsetDecoder
 
FORBIDDEN - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
forceCloseAfterBody() - Method in class org.jdrupes.httpcodec.protocols.http.HttpEncoder
Force close after body.
forceCloseAfterBody() - Method in class org.jdrupes.httpcodec.protocols.http.server.HttpResponseEncoder
 
FormUrlDecoder - Class in org.jdrupes.httpcodec.util
A decoder for URL-encoded form data.
FormUrlDecoder() - Constructor for class org.jdrupes.httpcodec.util.FormUrlDecoder
 
FOUND - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
from(ParameterizedValue<T>) - Method in class org.jdrupes.httpcodec.types.ParameterizedValue.Builder
Initialize the builder from an existing value.
FROM - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
fromFieldValue(String) - Method in class org.jdrupes.httpcodec.types.CommentedValue.CommentedValueConverter
 
fromFieldValue(String) - Method in interface org.jdrupes.httpcodec.types.Converter
Parses the given text and returns the parsed value.
fromFieldValue(String) - Method in class org.jdrupes.httpcodec.types.DefaultMultiValueConverter
 
fromFieldValue(String) - Method in class org.jdrupes.httpcodec.types.Directive.DirectiveConverter
 
fromFieldValue(String) - Method in class org.jdrupes.httpcodec.types.Etag.EtagConverter
 
fromFieldValue(String) - Method in class org.jdrupes.httpcodec.types.InstantConverter
 
fromFieldValue(String) - Method in class org.jdrupes.httpcodec.types.MediaBase.MediaTypePairConverter
 
fromFieldValue(String) - Method in class org.jdrupes.httpcodec.types.ParameterizedValue.ParamValueConverterBase
 
fromFieldValue(String) - Method in class org.jdrupes.httpcodec.types.SetCookieStringConverter
 
fromString(String) - Static method in class org.jdrupes.httpcodec.types.MediaBase.MediaTypePair
Create a main type from its textual representation.

G

GATEWAY_TIME_OUT - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
GONE - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
GZIP - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.TransferCoding
 

H

hashCode() - Method in class org.jdrupes.httpcodec.Codec.Result
 
hashCode() - Method in class org.jdrupes.httpcodec.Decoder.Result
 
hashCode() - Method in class org.jdrupes.httpcodec.protocols.http.client.HttpResponseDecoder.Result
 
hashCode() - Method in class org.jdrupes.httpcodec.protocols.http.server.HttpResponseEncoder.Result
 
hashCode() - Method in class org.jdrupes.httpcodec.types.CommentedValue
 
hashCode() - Method in class org.jdrupes.httpcodec.types.MediaBase.MediaTypePair
 
hashCode() - Method in class org.jdrupes.httpcodec.types.ParameterizedValue
 
hashCode() - Method in class org.jdrupes.httpcodec.util.OptimizedCharsetDecoder
 
hasNext() - Method in class org.jdrupes.httpcodec.util.ListItemizer
 
hasPayload() - Method in interface org.jdrupes.httpcodec.MessageHeader
Returns true if the complete message comprises additional data in Buffers when decoded or encoded.
hasPayload() - Method in class org.jdrupes.httpcodec.protocols.http.HttpMessageHeader
Returns true if the header is followed by a payload body.
hasPayload() - Method in class org.jdrupes.httpcodec.protocols.websocket.WsCloseFrame
 
hasPayload() - Method in class org.jdrupes.httpcodec.protocols.websocket.WsDefaultControlFrame
 
hasPayload() - Method in class org.jdrupes.httpcodec.protocols.websocket.WsMessageHeader
 
header() - Method in interface org.jdrupes.httpcodec.Decoder
Returns the last message (header) received.
header() - Method in interface org.jdrupes.httpcodec.Encoder
Returns the last message (header) encoded.
header() - Method in class org.jdrupes.httpcodec.protocols.http.HttpDecoder
Returns the message (header) if one exists.
header() - Method in class org.jdrupes.httpcodec.protocols.http.HttpEncoder
 
header() - Method in class org.jdrupes.httpcodec.protocols.websocket.WsDecoder
 
header() - Method in class org.jdrupes.httpcodec.protocols.websocket.WsEncoder
 
headerLinePatter - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
headerReceived(HttpRequest) - Method in class org.jdrupes.httpcodec.protocols.http.server.HttpRequestDecoder
 
headerReceived(HttpResponse) - Method in class org.jdrupes.httpcodec.protocols.http.client.HttpResponseDecoder
 
headerReceived(T) - Method in class org.jdrupes.httpcodec.protocols.http.HttpDecoder
Informs the derived class that the header has been received completely.
host() - Method in class org.jdrupes.httpcodec.protocols.http.HttpRequest
Host.
HOST - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
HTTP_1_0 - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpProtocol
 
HTTP_1_1 - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpProtocol
 
HTTP_VERSION - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpDecoder
 
HTTP_VERSION_NOT_SUPPORTED - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
HttpCodec<T extends HttpMessageHeader> - Class in org.jdrupes.httpcodec.protocols.http
The base class for HTTP codecs.
HttpCodec() - Constructor for class org.jdrupes.httpcodec.protocols.http.HttpCodec
 
HttpConstants - Interface in org.jdrupes.httpcodec.protocols.http
Common HTTP constants.
HttpConstants.HttpProtocol - Enum Class in org.jdrupes.httpcodec.protocols.http
 
HttpConstants.HttpStatus - Enum Class in org.jdrupes.httpcodec.protocols.http
 
HttpConstants.TransferCoding - Enum Class in org.jdrupes.httpcodec.protocols.http
 
HttpDecoder<T extends HttpMessageHeader,R extends HttpMessageHeader> - Class in org.jdrupes.httpcodec.protocols.http
Implements a decoder for HTTP.
HttpDecoder() - Constructor for class org.jdrupes.httpcodec.protocols.http.HttpDecoder
Creates a new decoder.
HttpDecoder.BodyMode - Enum Class in org.jdrupes.httpcodec.protocols.http
 
HttpDecoder.Result<R extends MessageHeader> - Class in org.jdrupes.httpcodec.protocols.http
Results from HttpDecoder add no additional information to Decoder.Result.
HttpDecoder.Result.Factory<R extends MessageHeader> - Class in org.jdrupes.httpcodec.protocols.http
A factory for creating new Results.
HttpEncoder<T extends HttpMessageHeader,D extends HttpMessageHeader> - Class in org.jdrupes.httpcodec.protocols.http
Implements an encoder for HTTP.
HttpEncoder() - Constructor for class org.jdrupes.httpcodec.protocols.http.HttpEncoder
Creates a new encoder.
HttpEncoder.Result - Class in org.jdrupes.httpcodec.protocols.http
Results from HttpEncoder provide no additional information compared to Codec.Result.
HttpEncoder.Result.Factory - Class in org.jdrupes.httpcodec.protocols.http
A factory for creating new Results.
HttpField<T> - Class in org.jdrupes.httpcodec.protocols.http
A base class for all kinds of header field values.
HttpField(String, Converter<T>) - Constructor for class org.jdrupes.httpcodec.protocols.http.HttpField
Creates a new representation of a header field from its textual representation.
HttpField(String, T, Converter<T>) - Constructor for class org.jdrupes.httpcodec.protocols.http.HttpField
Creates a new representation of a header field with the given value and converter.
HttpMessageHeader - Class in org.jdrupes.httpcodec.protocols.http
Represents an HTTP message header (either request or response).
HttpMessageHeader(HttpConstants.HttpProtocol, boolean) - Constructor for class org.jdrupes.httpcodec.protocols.http.HttpMessageHeader
Creates a new message header.
HttpProtocolException - Exception in org.jdrupes.httpcodec.protocols.http
Represents a violation of the HTTP protocol.
HttpProtocolException(HttpConstants.HttpProtocol, int, String) - Constructor for exception org.jdrupes.httpcodec.protocols.http.HttpProtocolException
Creates a new exception with the given values.
HttpProtocolException(HttpConstants.HttpProtocol, HttpConstants.HttpStatus) - Constructor for exception org.jdrupes.httpcodec.protocols.http.HttpProtocolException
Creates a new exception with the standard reason phrase.
HttpRequest - Class in org.jdrupes.httpcodec.protocols.http
Represents an HTTP request header.
HttpRequest(String, URI, HttpConstants.HttpProtocol, boolean) - Constructor for class org.jdrupes.httpcodec.protocols.http.HttpRequest
Creates a new request with basic data.
HttpRequestDecoder - Class in org.jdrupes.httpcodec.protocols.http.server
A decoder for HTTP requests.
HttpRequestDecoder() - Constructor for class org.jdrupes.httpcodec.protocols.http.server.HttpRequestDecoder
 
HttpRequestDecoder.Result - Class in org.jdrupes.httpcodec.protocols.http.server
Results from HttpRequestDecoder add no additional information to HttpDecoder.Result.
HttpRequestDecoder.Result.Factory - Class in org.jdrupes.httpcodec.protocols.http.server
 
HttpRequestEncoder - Class in org.jdrupes.httpcodec.protocols.http.client
An encoder for HTTP requests.
HttpRequestEncoder() - Constructor for class org.jdrupes.httpcodec.protocols.http.client.HttpRequestEncoder
 
HttpRequestEncoder.Result - Class in org.jdrupes.httpcodec.protocols.http.client
Results from HttpRequestEncoder add no additional information to HttpEncoder.Result.
HttpRequestEncoder.Result.Factory - Class in org.jdrupes.httpcodec.protocols.http.client
A concrete factory for creating new Results.
HttpResponse - Class in org.jdrupes.httpcodec.protocols.http
Represents an HTTP response header.
HttpResponse(HttpConstants.HttpProtocol, int, String, boolean) - Constructor for class org.jdrupes.httpcodec.protocols.http.HttpResponse
 
HttpResponse(HttpConstants.HttpProtocol, HttpConstants.HttpStatus, boolean) - Constructor for class org.jdrupes.httpcodec.protocols.http.HttpResponse
 
HttpResponseDecoder - Class in org.jdrupes.httpcodec.protocols.http.client
A decoder for HTTP reponses.
HttpResponseDecoder() - Constructor for class org.jdrupes.httpcodec.protocols.http.client.HttpResponseDecoder
 
HttpResponseDecoder.Result - Class in org.jdrupes.httpcodec.protocols.http.client
The result from encoding a response.
HttpResponseDecoder.Result.Factory - Class in org.jdrupes.httpcodec.protocols.http.client
The Factory for (extended) results.
HttpResponseEncoder - Class in org.jdrupes.httpcodec.protocols.http.server
An encoder for HTTP responses.
HttpResponseEncoder() - Constructor for class org.jdrupes.httpcodec.protocols.http.server.HttpResponseEncoder
 
HttpResponseEncoder.Result - Class in org.jdrupes.httpcodec.protocols.http.server
The result from encoding a response.
HttpResponseEncoder.Result.Factory - Class in org.jdrupes.httpcodec.protocols.http.server
A factory for creating new Results.
httpVersion() - Method in exception org.jdrupes.httpcodec.protocols.http.HttpProtocolException
Returns the HTTP version.

I

IF_MATCH - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
IF_MODIFIED_SINCE - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
IF_NONE_MATCH - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
IF_UNMODIFIED_SINCE - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
InstantConverter - Class in org.jdrupes.httpcodec.types
A converter that converts between date/time representatiosn and Instant.
InstantConverter() - Constructor for class org.jdrupes.httpcodec.types.InstantConverter
 
INTERNAL_SERVER_ERROR - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
isAutoDetecting() - Method in class org.jdrupes.httpcodec.util.OptimizedCharsetDecoder
 
isAwaitingMessage() - Method in class org.jdrupes.httpcodec.protocols.http.HttpDecoder
 
isCharsetDetected() - Method in class org.jdrupes.httpcodec.util.OptimizedCharsetDecoder
 
isClosed() - Method in class org.jdrupes.httpcodec.protocols.http.HttpDecoder
Returns true if the decoder does not accept further input because the processed data indicated that the connection has been or is to be closed.
isClosed() - Method in class org.jdrupes.httpcodec.protocols.http.HttpEncoder
Returns true if the encoder does not accept further input because the processed data indicated that the connection has been or is to be closed.
isEmpty() - Method in class org.jdrupes.httpcodec.types.CacheControlDirectives
 
isEmpty() - Method in class org.jdrupes.httpcodec.types.CookieList
 
isFinal() - Method in interface org.jdrupes.httpcodec.MessageHeader
Returns true if this is the final message received or transmitted on a connection.
isFinal() - Method in class org.jdrupes.httpcodec.protocols.http.HttpMessageHeader
Returns true if this is a final message.
isFinal() - Method in class org.jdrupes.httpcodec.protocols.websocket.WsCloseFrame
 
isFinal() - Method in class org.jdrupes.httpcodec.protocols.websocket.WsDefaultControlFrame
 
isFinal() - Method in class org.jdrupes.httpcodec.protocols.websocket.WsMessageHeader
 
isHeaderCompleted() - Method in class org.jdrupes.httpcodec.Decoder.Result
Returns true if the message header has been decoded completely during the decoder invocation that returned this result and is now available.
isOverflow() - Method in class org.jdrupes.httpcodec.Codec.Result
Indicates that the data didn’t fit in the out buffer.
isResponseOnly() - Method in class org.jdrupes.httpcodec.Decoder.Result
If the result includes a response (see Decoder.Result.response()) and this method returns true then no further processing of the received data is required.
isTextMode() - Method in class org.jdrupes.httpcodec.protocols.websocket.WsMessageHeader
 
isUnderflow() - Method in class org.jdrupes.httpcodec.Codec.Result
Indicates that more data is needed to complete the encoding or decoding of the entity.
isWeak() - Method in class org.jdrupes.httpcodec.types.Etag
 
iterator() - Method in class org.jdrupes.httpcodec.types.CacheControlDirectives
 
iterator() - Method in class org.jdrupes.httpcodec.types.CookieList
 

L

LANGUAGE - Static variable in class org.jdrupes.httpcodec.types.Converters
A converter for a language or language range.
LANGUAGE_LIST - Static variable in class org.jdrupes.httpcodec.types.Converters
A converter for a weighted list of languages.
LAST_MODIFIED - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
LAX - Enum constant in enum class org.jdrupes.httpcodec.types.Converters.SameSiteAttribute
Sent with “same-site” requests, and with “cross-site” top-level navigations
LENGTH - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpDecoder.BodyMode
 
LENGTH_REQUIRED - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
linkClosingState(WsCodec) - Method in class org.jdrupes.httpcodec.protocols.websocket.WsCodec
 
ListItemizer - Class in org.jdrupes.httpcodec.util
Splits a list of items.
ListItemizer(String, String) - Constructor for class org.jdrupes.httpcodec.util.ListItemizer
Generates a new itemizer.
LOCATION - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
LONG - Static variable in class org.jdrupes.httpcodec.types.Converters
An integer converter.
LONG_LIST - Static variable in class org.jdrupes.httpcodec.types.Converters
An integer list converter.
lookupConverter(String) - Static method in class org.jdrupes.httpcodec.protocols.http.HttpField
Returns the proper converter for the header field with the given name.

M

malformedInputAction() - Method in class org.jdrupes.httpcodec.util.OptimizedCharsetDecoder
 
matches(MediaType) - Method in class org.jdrupes.httpcodec.types.MediaRange
Checks if the given media type falls within this range.
MAX_FORWARDS - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
maxCharsPerByte() - Method in class org.jdrupes.httpcodec.util.OptimizedCharsetDecoder
 
maxHeaderLength() - Method in class org.jdrupes.httpcodec.protocols.http.HttpDecoder
Returns the maximum header length.
MEDIA_RANGE - Static variable in class org.jdrupes.httpcodec.types.Converters
A converter for a media type pair with parameters.
MEDIA_RANGE_LIST - Static variable in class org.jdrupes.httpcodec.types.Converters
A converter for a list of media ranges.
MEDIA_TYPE - Static variable in class org.jdrupes.httpcodec.types.Converters
A converter for a media type pair with parameters.
MEDIA_TYPE_PAIR - Static variable in class org.jdrupes.httpcodec.types.Converters
A converter for the media “topLevelType/Subtype” pair.
MediaBase - Class in org.jdrupes.httpcodec.types
 
MediaBase(MediaBase.MediaTypePair) - Constructor for class org.jdrupes.httpcodec.types.MediaBase
Create a new object with the given type and no parameters.
MediaBase(MediaBase.MediaTypePair, Map<String, String>) - Constructor for class org.jdrupes.httpcodec.types.MediaBase
Create a new object with the given type and parameters.
MediaBase.MediaTypePair - Class in org.jdrupes.httpcodec.types
Represents the tuple media top-level type and subtype, including a media range (type or subtype equals “*”).
MediaBase.MediaTypePairConverter - Class in org.jdrupes.httpcodec.types
 
MediaRange - Class in org.jdrupes.httpcodec.types
 
MediaRange(String, String) - Constructor for class org.jdrupes.httpcodec.types.MediaRange
Create a new object with the given type and subtype.
MediaRange(String, String, Map<String, String>) - Constructor for class org.jdrupes.httpcodec.types.MediaRange
Create a new object with the given type, subtype and parameters.
MediaRange(MediaBase.MediaTypePair, Map<String, String>) - Constructor for class org.jdrupes.httpcodec.types.MediaRange
Create a new object with the given type and parameters.
MediaRange.Builder - Class in org.jdrupes.httpcodec.types
A builder for the (immutable) parameterized type.
MediaRange.MediaRangeConverter - Class in org.jdrupes.httpcodec.types
 
MediaRangeConverter() - Constructor for class org.jdrupes.httpcodec.types.MediaRange.MediaRangeConverter
 
MediaType - Class in org.jdrupes.httpcodec.types
 
MediaType(String, String) - Constructor for class org.jdrupes.httpcodec.types.MediaType
Create a new object with the given type and subtype.
MediaType(String, String, Map<String, String>) - Constructor for class org.jdrupes.httpcodec.types.MediaType
Create a new object with the given type, subtype and parameters.
MediaType(MediaBase.MediaTypePair, Map<String, String>) - Constructor for class org.jdrupes.httpcodec.types.MediaType
Create a new object with the given type and parameters.
MediaType.Builder - Class in org.jdrupes.httpcodec.types
A builder for the (immutable) parameterized type.
MediaType.MediaTypeConverter - Class in org.jdrupes.httpcodec.types
 
MediaTypeConverter() - Constructor for class org.jdrupes.httpcodec.types.MediaType.MediaTypeConverter
 
MediaTypePair(String, String) - Constructor for class org.jdrupes.httpcodec.types.MediaBase.MediaTypePair
Create a new object with the given type and subtype.
MediaTypePairConverter() - Constructor for class org.jdrupes.httpcodec.types.MediaBase.MediaTypePairConverter
 
messageComplete(Decoder.Result<HttpRequest>) - Method in class org.jdrupes.httpcodec.protocols.http.client.HttpResponseDecoder
 
messageComplete(Decoder.Result<R>) - Method in class org.jdrupes.httpcodec.protocols.http.HttpDecoder
Informs the derived class that a complete message has been received and the given result will be returned.
messageHeader - Variable in class org.jdrupes.httpcodec.protocols.http.HttpCodec
 
MessageHeader - Interface in org.jdrupes.httpcodec
Represents a message header (either request or response) which preceeds the option payload data.
method() - Method in class org.jdrupes.httpcodec.protocols.http.HttpRequest
Return the method.
METHOD_NOT_ALLOWED - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
MOVED_PERMANENTLY - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
MULTIPLE_CHOICES - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
MultiValueConverter<T extends Iterable<V>,V> - Interface in org.jdrupes.httpcodec.types
Implemented by converters that convert header fields with a list of values.

N

name() - Method in class org.jdrupes.httpcodec.protocols.http.HttpField
Returns the header field name.
name() - Method in class org.jdrupes.httpcodec.types.Directive
 
newDecoder() - Method in interface org.jdrupes.httpcodec.Codec.ProtocolSwitchResult
The decoder to be used for the next message if a protocol switch occured.
newDecoder() - Method in class org.jdrupes.httpcodec.protocols.http.client.HttpResponseDecoder.Result
 
newDecoder() - Method in class org.jdrupes.httpcodec.protocols.http.server.HttpResponseEncoder.Result
 
newEncoder() - Method in interface org.jdrupes.httpcodec.Codec.ProtocolSwitchResult
The encoder to be used for the next message if a protocol switch occured.
newEncoder() - Method in class org.jdrupes.httpcodec.protocols.http.client.HttpResponseDecoder.Result
 
newEncoder() - Method in class org.jdrupes.httpcodec.protocols.http.server.HttpResponseEncoder.Result
 
newMessage(String) - Method in class org.jdrupes.httpcodec.protocols.http.client.HttpResponseDecoder
Checks whether the first line of a message is a valid response.
newMessage(String) - Method in class org.jdrupes.httpcodec.protocols.http.HttpDecoder
Informs the derived class about the start of a new message.
newMessage(String) - Method in class org.jdrupes.httpcodec.protocols.http.server.HttpRequestDecoder
Checks whether the first line of a message is a valid request.
newProtocol() - Method in interface org.jdrupes.httpcodec.Codec.ProtocolSwitchResult
The name of the protocol to be used for the next request if a protocol switch occured.
newProtocol() - Method in class org.jdrupes.httpcodec.protocols.http.client.HttpResponseDecoder.Result
 
newProtocol() - Method in class org.jdrupes.httpcodec.protocols.http.server.HttpResponseEncoder.Result
 
newResult(boolean, boolean) - Method in class org.jdrupes.httpcodec.protocols.http.client.HttpResponseDecoder.Result.Factory
Create a new (preliminary) result.
newResult(boolean, boolean) - Method in class org.jdrupes.httpcodec.protocols.http.HttpDecoder.Result.Factory
Create a new result.
newResult(boolean, boolean) - Method in class org.jdrupes.httpcodec.protocols.http.server.HttpRequestDecoder.Result.Factory
Overrides the base interface’s factory method in order to make it return the extended return type.
newResult(boolean, boolean, boolean) - Method in class org.jdrupes.httpcodec.protocols.http.HttpEncoder.Result.Factory
Create new result.
newResult(boolean, boolean, boolean) - Method in class org.jdrupes.httpcodec.protocols.http.server.HttpResponseEncoder.Result.Factory
Create a new (preliminary) result.
newResult(boolean, boolean, boolean) - Method in class org.jdrupes.httpcodec.protocols.websocket.WsEncoder.Result.Factory
Create new result.
newResult(boolean, boolean, boolean, boolean, String, Encoder<?, ?>, Decoder<?, ?>) - Method in class org.jdrupes.httpcodec.protocols.http.client.HttpResponseDecoder.Result.Factory
 
newResult(boolean, boolean, boolean, boolean, WsFrameHeader, boolean) - Method in class org.jdrupes.httpcodec.protocols.websocket.WsDecoder.Result.Factory
Create a new result.
newResult(boolean, boolean, boolean, String, Decoder<?, ?>, Encoder<?, ?>) - Method in class org.jdrupes.httpcodec.protocols.http.server.HttpResponseEncoder.Result.Factory
Create a new result.
newResult(boolean, boolean, boolean, HttpResponse, boolean) - Method in class org.jdrupes.httpcodec.protocols.http.server.HttpRequestDecoder.Result.Factory
Create a new result.
next() - Method in class org.jdrupes.httpcodec.util.ListItemizer
 
NO_BODY - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpDecoder.BodyMode
 
NO_CONTENT - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
NON_AUTHORITATIVE_INFORMATION - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
NONE - Enum constant in enum class org.jdrupes.httpcodec.types.Converters.SameSiteAttribute
Always sent.
NOT_ACCEPTABLE - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
NOT_FOUND - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
NOT_IMPLEMENTED - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
NOT_MODIFIED - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 

O

OK - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
onMalformedInput(CodingErrorAction) - Method in class org.jdrupes.httpcodec.util.OptimizedCharsetDecoder
 
onUnmappableCharacter(CodingErrorAction) - Method in class org.jdrupes.httpcodec.util.OptimizedCharsetDecoder
 
OPEN - Enum constant in enum class org.jdrupes.httpcodec.protocols.websocket.WsCodec.ClosingState
 
OptimizedCharsetDecoder - Class in org.jdrupes.httpcodec.util
Provides a wrapper that makes a CharsetDecoder behave like an optimized CharsetDecoder.
OptimizedCharsetDecoder(CharsetDecoder) - Constructor for class org.jdrupes.httpcodec.util.OptimizedCharsetDecoder
Creates a new instance.
org.jdrupes.httpcodec - package org.jdrupes.httpcodec
The entry point interfaces and classes.
org.jdrupes.httpcodec.plugin - package org.jdrupes.httpcodec.plugin
Provides the API for adding “upgrade” protocols
org.jdrupes.httpcodec.protocols.http - package org.jdrupes.httpcodec.protocols.http
Classes required for handling the HTTP protocol.
org.jdrupes.httpcodec.protocols.http.client - package org.jdrupes.httpcodec.protocols.http.client
HTTP codecs required on the client side.
org.jdrupes.httpcodec.protocols.http.server - package org.jdrupes.httpcodec.protocols.http.server
HTTP codecs required on the server side.
org.jdrupes.httpcodec.protocols.websocket - package org.jdrupes.httpcodec.protocols.websocket
Classes for handling the Websocket protocol.
org.jdrupes.httpcodec.types - package org.jdrupes.httpcodec.types
Special types related to HTTP.
org.jdrupes.httpcodec.util - package org.jdrupes.httpcodec.util
 
overflowBufferSize() - Method in class org.jdrupes.httpcodec.util.ByteBufferOutputStream
Returns the size of the buffers that will be allocated as overflow buffers.

P

parameter(String) - Method in class org.jdrupes.httpcodec.types.ParameterizedValue
Return the value of the parameter with the given name.
ParameterizedValue<U> - Class in org.jdrupes.httpcodec.types
Represents a parameterized value such as value; param1=value1; param2=value2.
ParameterizedValue(U) - Constructor for class org.jdrupes.httpcodec.types.ParameterizedValue
Creates a new object with the given value and no parameters.
ParameterizedValue(U, Map<String, String>) - Constructor for class org.jdrupes.httpcodec.types.ParameterizedValue
Creates a new object with the given value and parameters.
ParameterizedValue.Builder<R extends ParameterizedValue<T>,T> - Class in org.jdrupes.httpcodec.types
A builder for the (immutable) parameterized type.
ParameterizedValue.ParameterizedValueConverter<T> - Class in org.jdrupes.httpcodec.types
Extends ParameterizedValue.ParamValueConverterBase to a realization of Converter<ParameterizedValue<T>>.
ParameterizedValue.ParamValueConverterBase<P extends ParameterizedValue<U>,U> - Class in org.jdrupes.httpcodec.types
A base class for converters for parameterized values.
ParameterizedValueConverter(Converter<T>) - Constructor for class org.jdrupes.httpcodec.types.ParameterizedValue.ParameterizedValueConverter
 
parameters() - Method in class org.jdrupes.httpcodec.types.ParameterizedValue
Returns the parameters.
ParamValueConverterBase(Converter<U>, BiFunction<U, Map<String, String>, P>) - Constructor for class org.jdrupes.httpcodec.types.ParameterizedValue.ParamValueConverterBase
Creates a new converter by extending the given value converter with functionality for handling the parameters.
ParamValueConverterBase(Converter<U>, Converter<String>, BiFunction<U, Map<String, String>, P>) - Constructor for class org.jdrupes.httpcodec.types.ParameterizedValue.ParamValueConverterBase
Creates a new converter by extending the given value converter with functionality for handling the parameters.
PARTIAL_CONTENT - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
PAYMENT_REQUIRED - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
peerDecoder - Variable in class org.jdrupes.httpcodec.protocols.http.HttpEncoder
 
peerEncoder - Variable in class org.jdrupes.httpcodec.protocols.http.HttpDecoder
 
pendingLimit() - Method in class org.jdrupes.httpcodec.protocols.http.HttpEncoder
Returns the limit for pending body bytes.
port() - Method in class org.jdrupes.httpcodec.protocols.http.HttpRequest
Port.
position() - Method in class org.jdrupes.httpcodec.util.DynamicByteArray
Returns the current position (number of bytes in the array).
PRAGMA - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
PRECONDITION_FAILED - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
PRODUCT_DESCRIPTIONS - Static variable in class org.jdrupes.httpcodec.types.Converters
A converter for product descriptions as used in the User-Agent and Server header fields.
protocol() - Method in class org.jdrupes.httpcodec.protocols.http.HttpMessageHeader
Return the protocol.
ProtocolException - Exception in org.jdrupes.httpcodec
Represents the base class of all exceptions thrown due to protocol violations.
ProtocolException() - Constructor for exception org.jdrupes.httpcodec.ProtocolException
 
ProtocolException(String) - Constructor for exception org.jdrupes.httpcodec.ProtocolException
 
ProtocolException(String, Throwable) - Constructor for exception org.jdrupes.httpcodec.ProtocolException
 
ProtocolException(String, Throwable, boolean, boolean) - Constructor for exception org.jdrupes.httpcodec.ProtocolException
 
ProtocolException(Throwable) - Constructor for exception org.jdrupes.httpcodec.ProtocolException
 
protocolVersion - Variable in class org.jdrupes.httpcodec.protocols.http.HttpDecoder
 
PROXY_AUTHENTICATE - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
PROXY_AUTHENTICATION_REQUIRED - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
PROXY_AUTHORIZATION - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
putAsMuchAsPossible(ByteBuffer, ByteBuffer) - Static method in class org.jdrupes.httpcodec.util.ByteBufferUtils
Put as many bytes as possible from the src buffer into the destination buffer.
putAsMuchAsPossible(ByteBuffer, ByteBuffer, int) - Static method in class org.jdrupes.httpcodec.util.ByteBufferUtils
Put as many bytes as possible from the src buffer into the destination buffer but not more than specified by limit.

Q

queryData() - Method in class org.jdrupes.httpcodec.protocols.http.HttpRequest
Short for invoking HttpRequest.queryData(Charset) with UTF-8 as charset.
queryData(Charset) - Method in class org.jdrupes.httpcodec.protocols.http.HttpRequest
Returns the decoded query data from the request URI.
quote(String, String) - Static method in class org.jdrupes.httpcodec.types.Converters
Return a new string in which all characters from toBeQuoted are prefixed with a backslash.
QUOTED_STRING - Static variable in class org.jdrupes.httpcodec.types.Converters
A converter that quotes strings.
QUOTED_STRING_LIST - Static variable in class org.jdrupes.httpcodec.types.Converters
 
quoteIfNecessary(String) - Static method in class org.jdrupes.httpcodec.types.Converters
Returns the given string as double quoted string if necessary.
quoteString(String) - Static method in class org.jdrupes.httpcodec.types.Converters
Returns the given string as double quoted string.

R

reason() - Method in class org.jdrupes.httpcodec.protocols.websocket.WsCloseFrame
 
reasonPhrase() - Method in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
reasonPhrase() - Method in exception org.jdrupes.httpcodec.protocols.http.HttpProtocolException
Returns the reason phrase.
reasonPhrase() - Method in class org.jdrupes.httpcodec.protocols.http.HttpResponse
 
remaining() - Method in class org.jdrupes.httpcodec.util.ByteBufferOutputStream
Returns the number of bytes remaining in the assigned buffer.
remove(String) - Method in class org.jdrupes.httpcodec.types.CacheControlDirectives
Remove the directive with the given name.
remove(String) - Method in class org.jdrupes.httpcodec.types.CookieList
Remove the cookie with the given name.
remove(String) - Method in class org.jdrupes.httpcodec.types.ParameterizedValue.Builder
Remove a parameter
removeField(String) - Method in class org.jdrupes.httpcodec.protocols.http.HttpMessageHeader
Removes a header field from the message.
removeIgnoreCase(String) - Method in class org.jdrupes.httpcodec.types.StringList
Removes all strings equal to the given value, ignoring differences in the cases of the letters.
replacement() - Method in class org.jdrupes.httpcodec.util.OptimizedCharsetDecoder
 
replaceQuery(URI, String) - Static method in class org.jdrupes.httpcodec.protocols.http.HttpRequest
Updates the query part of an URI.
replaceWith(String) - Method in class org.jdrupes.httpcodec.util.OptimizedCharsetDecoder
 
request() - Method in class org.jdrupes.httpcodec.protocols.http.HttpResponse
Returns the request that this response responds to.
REQUEST_ENTITY_TOO_LARGE - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
REQUEST_TIME_OUT - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
REQUEST_URI_TOO_LARGE - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
requestDecoder() - Method in class org.jdrupes.httpcodec.ServerEngine
Returns the request decoder.
REQUESTED_RANGE_NOT_SATISFIABLE - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
requestEncoder() - Method in class org.jdrupes.httpcodec.ClientEngine
 
requestUri() - Method in class org.jdrupes.httpcodec.protocols.http.HttpRequest
Return the URI of the requested resource.
reset() - Method in class org.jdrupes.httpcodec.util.OptimizedCharsetDecoder
 
RESET_CONTENT - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
response() - Method in class org.jdrupes.httpcodec.Decoder.Result
Returns the response if a response exists.
response() - Method in class org.jdrupes.httpcodec.protocols.http.HttpRequest
Returns the prepared response.
responseDecoder() - Method in class org.jdrupes.httpcodec.ClientEngine
 
responseEncoder() - Method in class org.jdrupes.httpcodec.ServerEngine
Returns the response encoder.
Result(boolean, boolean, boolean) - Constructor for class org.jdrupes.httpcodec.Codec.Result
Creates a new result with the given values.
Result(boolean, boolean, boolean) - Constructor for class org.jdrupes.httpcodec.protocols.http.client.HttpRequestEncoder.Result
 
Result(boolean, boolean, boolean) - Constructor for class org.jdrupes.httpcodec.protocols.http.HttpEncoder.Result
 
Result(boolean, boolean, boolean) - Constructor for class org.jdrupes.httpcodec.protocols.websocket.WsEncoder.Result
 
Result(boolean, boolean, boolean, boolean, String, Encoder<?, ?>, Decoder<?, ?>) - Constructor for class org.jdrupes.httpcodec.protocols.http.client.HttpResponseDecoder.Result
Returns a new result.
Result(boolean, boolean, boolean, boolean, WsFrameHeader, boolean) - Constructor for class org.jdrupes.httpcodec.protocols.websocket.WsDecoder.Result
 
Result(boolean, boolean, boolean, boolean, R, boolean) - Constructor for class org.jdrupes.httpcodec.Decoder.Result
Creates a new result.
Result(boolean, boolean, boolean, boolean, R, boolean) - Constructor for class org.jdrupes.httpcodec.protocols.http.HttpDecoder.Result
 
Result(boolean, boolean, boolean, String, Decoder<?, ?>, Encoder<?, ?>) - Constructor for class org.jdrupes.httpcodec.protocols.http.server.HttpResponseEncoder.Result
Returns a new result.
Result(boolean, boolean, boolean, HttpResponse, boolean) - Constructor for class org.jdrupes.httpcodec.protocols.http.server.HttpRequestDecoder.Result
Creates a new result.
resultFactory() - Method in class org.jdrupes.httpcodec.protocols.http.client.HttpRequestEncoder
 
resultFactory() - Method in class org.jdrupes.httpcodec.protocols.http.client.HttpResponseDecoder
 
resultFactory() - Method in class org.jdrupes.httpcodec.protocols.http.HttpDecoder
Returns the result factory for this codec.
resultFactory() - Method in class org.jdrupes.httpcodec.protocols.http.HttpEncoder
Returns the result factory for this codec.
resultFactory() - Method in class org.jdrupes.httpcodec.protocols.http.server.HttpRequestDecoder
 
resultFactory() - Method in class org.jdrupes.httpcodec.protocols.http.server.HttpResponseEncoder
 
resultFactory() - Method in class org.jdrupes.httpcodec.protocols.websocket.WsDecoder
Returns the result factory for this codec.
resultFactory() - Method in class org.jdrupes.httpcodec.protocols.websocket.WsEncoder
Returns the result factory for this codec.
RETRY_AFTER - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 

S

sameSiteAttribute() - Method in class org.jdrupes.httpcodec.types.CookieList
Returns the same site attribute passed to the constructor.
sameSiteAttribute() - Method in class org.jdrupes.httpcodec.types.SetCookieStringConverter
Returns the same site attribute.
SEE_OTHER - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
separateValues() - Method in class org.jdrupes.httpcodec.types.DefaultMultiValueConverter
 
separateValues() - Method in interface org.jdrupes.httpcodec.types.MultiValueConverter
Return whether values should be converted to separate header fields in Converter.asFieldValue(Object).
SERVER - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
ServerEngine<Q extends MessageHeader,R extends MessageHeader> - Class in org.jdrupes.httpcodec
An engine that can be used as a server.
ServerEngine(Decoder<Q, R>, Encoder<R, Q>) - Constructor for class org.jdrupes.httpcodec.ServerEngine
Creates a new instance.
SERVICE_UNAVAILABLE - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
SET_COOKIE - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
SET_COOKIE - Static variable in class org.jdrupes.httpcodec.types.Converters
A converter for set cookies.
SET_COOKIE_STRING - Static variable in class org.jdrupes.httpcodec.types.Converters
Provide converters for the
setClosingState(WsCodec.ClosingState) - Method in class org.jdrupes.httpcodec.protocols.websocket.WsCodec
 
setContentLength(long) - Method in class org.jdrupes.httpcodec.protocols.http.HttpResponse
A convenience method for setting the “Content-Length” header.
setContentType(String, String) - Method in class org.jdrupes.httpcodec.protocols.http.HttpResponse
Convenience method for setting the “Content-Type” header from the given values.
setContentType(String, String, String) - Method in class org.jdrupes.httpcodec.protocols.http.HttpResponse
A convenience method for setting the “Content-Type” header (usually of type “text”) together with its charset parameter.
setContentType(URI) - Method in class org.jdrupes.httpcodec.protocols.http.HttpResponse
Convenience method for setting the “Content-Type” header using the path information of the given request.
setContentType(MediaType) - Method in class org.jdrupes.httpcodec.protocols.http.HttpResponse
Convenience method for setting the “Content-Type” header using the given media type.
SetCookieStringConverter - Class in org.jdrupes.httpcodec.types
Converts a HttpCookie to the representation used in a “Set-Cookie” header.
SetCookieStringConverter() - Constructor for class org.jdrupes.httpcodec.types.SetCookieStringConverter
 
setField(String, T) - Method in class org.jdrupes.httpcodec.protocols.http.HttpMessageHeader
Sets a header field for the message.
setField(String, T) - Method in class org.jdrupes.httpcodec.protocols.http.HttpRequest
 
setField(String, T) - Method in class org.jdrupes.httpcodec.protocols.http.HttpResponse
 
setField(HttpField<?>) - Method in class org.jdrupes.httpcodec.protocols.http.HttpMessageHeader
Sets a header field for the message.
setField(HttpField<?>) - Method in class org.jdrupes.httpcodec.protocols.http.HttpRequest
 
setField(HttpField<?>) - Method in class org.jdrupes.httpcodec.protocols.http.HttpResponse
 
setHasPayload(boolean) - Method in class org.jdrupes.httpcodec.protocols.http.HttpMessageHeader
Set the flag that indicates whether this header is followed by a body.
setHasPayload(boolean) - Method in class org.jdrupes.httpcodec.protocols.http.HttpRequest
 
setHasPayload(boolean) - Method in class org.jdrupes.httpcodec.protocols.http.HttpResponse
 
setHostAndPort(String, int) - Method in class org.jdrupes.httpcodec.protocols.http.HttpRequest
Set the host and port attributes.
setMaxHeaderLength(long) - Method in class org.jdrupes.httpcodec.protocols.http.HttpDecoder
Sets the maximum size for the complete header.
setOverflowBufferSize(int) - Method in class org.jdrupes.httpcodec.util.ByteBufferOutputStream
The size of the buffers that are allocated if the assigned buffer overflows.
setParameter(String, String) - Method in class org.jdrupes.httpcodec.types.ParameterizedValue.Builder
Set a parameter.
setPeerDecoder(Decoder<D, T>) - Method in interface org.jdrupes.httpcodec.Encoder
Sets the peer decoder.
setPeerDecoder(Decoder<D, T>) - Method in class org.jdrupes.httpcodec.protocols.http.HttpEncoder
 
setPeerDecoder(Decoder<WsFrameHeader, WsFrameHeader>) - Method in class org.jdrupes.httpcodec.protocols.websocket.WsEncoder
 
setPeerEncoder(Encoder<WsFrameHeader, WsFrameHeader>) - Method in class org.jdrupes.httpcodec.protocols.websocket.WsDecoder
 
setPeerEncoder(Encoder<R, T>) - Method in interface org.jdrupes.httpcodec.Decoder
Sets the peer encoder.
setPeerEncoder(Encoder<R, T>) - Method in class org.jdrupes.httpcodec.protocols.http.HttpDecoder
 
setPendingLimit(int) - Method in class org.jdrupes.httpcodec.protocols.http.HttpEncoder
Sets the limit for the pending body bytes.
setQueryData(Map<String, List<String>>) - Method in class org.jdrupes.httpcodec.protocols.http.HttpRequest
Updates the query part of the request URI, using UTF-8 to encode the query keys and values.
setQueryData(Map<String, List<String>>, Charset) - Method in class org.jdrupes.httpcodec.protocols.http.HttpRequest
Updates the query part of the request URI.
setReasonPhrase(String) - Method in class org.jdrupes.httpcodec.protocols.http.HttpResponse
 
setRequest(HttpRequest) - Method in class org.jdrupes.httpcodec.protocols.http.HttpResponse
Associates the response with the request that it responds to.
setResponse(HttpResponse) - Method in class org.jdrupes.httpcodec.protocols.http.HttpRequest
Associates the request with a response.
setSameSiteAttribute(Converters.SameSiteAttribute) - Method in class org.jdrupes.httpcodec.types.SetCookieStringConverter
Controls if and which same site attribute is added to the string.
setSimpleQueryData(Map<String, String>) - Method in class org.jdrupes.httpcodec.protocols.http.HttpRequest
Updates the query part of the request URI, using UTF-8 to encode the query keys and values.
setSimpleQueryData(Map<String, String>, Charset) - Method in class org.jdrupes.httpcodec.protocols.http.HttpRequest
Updates the query part of the request URI.
setStatus(HttpConstants.HttpStatus) - Method in class org.jdrupes.httpcodec.protocols.http.HttpResponse
Sets both status code and reason phrase from the given http status value.
setStatusCode(int) - Method in class org.jdrupes.httpcodec.protocols.http.HttpResponse
 
setSwitchedTo(String) - Method in class org.jdrupes.httpcodec.Engine
Noted that the engine has been switched to a new protocol.
setType(String, String) - Method in class org.jdrupes.httpcodec.types.MediaRange.Builder
Sets the media range.
setType(String, String) - Method in class org.jdrupes.httpcodec.types.MediaType.Builder
Sets the media type.
setValue(T) - Method in class org.jdrupes.httpcodec.protocols.http.HttpField
Sets the header field’s value.
setValue(T) - Method in class org.jdrupes.httpcodec.types.ParameterizedValue.Builder
Set a new value.
simpleWwwFormUrlencode(Map<String, String>) - Static method in class org.jdrupes.httpcodec.protocols.http.HttpRequest
Www-form-urlencodes the given data, using UTF-8 to encode keys and values.
simpleWwwFormUrlencode(Map<String, String>, Charset) - Static method in class org.jdrupes.httpcodec.protocols.http.HttpRequest
Www-form-urlencodes the given data, using the given charset to encode keys and values.
size() - Method in class org.jdrupes.httpcodec.types.CacheControlDirectives
 
size() - Method in class org.jdrupes.httpcodec.types.CookieList
 
SP - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpDecoder
 
startMessage(HttpRequest, Writer) - Method in class org.jdrupes.httpcodec.protocols.http.client.HttpRequestEncoder
Writes the request line.
startMessage(HttpResponse, Writer) - Method in class org.jdrupes.httpcodec.protocols.http.server.HttpResponseEncoder
 
startMessage(T, Writer) - Method in class org.jdrupes.httpcodec.protocols.http.HttpEncoder
Writes the first line of the message (including the terminating CRLF).
statusCode() - Method in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
statusCode() - Method in exception org.jdrupes.httpcodec.protocols.http.HttpProtocolException
Returns the status code.
statusCode() - Method in class org.jdrupes.httpcodec.protocols.http.HttpResponse
 
statusCode() - Method in class org.jdrupes.httpcodec.protocols.websocket.WsCloseFrame
 
stream() - Method in class org.jdrupes.httpcodec.types.CacheControlDirectives
 
stream() - Method in class org.jdrupes.httpcodec.types.CookieList
 
STRICT - Enum constant in enum class org.jdrupes.httpcodec.types.Converters.SameSiteAttribute
Sent along with “same-site” requests
STRING - Static variable in class org.jdrupes.httpcodec.types.Converters
A converter that quotes and unquoted strings as necessary.
STRING_LIST - Static variable in class org.jdrupes.httpcodec.types.Converters
 
StringList - Class in org.jdrupes.httpcodec.types
Represents a list of strings with some additional methods.
StringList() - Constructor for class org.jdrupes.httpcodec.types.StringList
Creates a new empty list of strings.
StringList(int) - Constructor for class org.jdrupes.httpcodec.types.StringList
Creates a new empty list of strings with an initial capacity.
StringList(String, String...) - Constructor for class org.jdrupes.httpcodec.types.StringList
Creates a new list with given items.
StringList(Collection<String>) - Constructor for class org.jdrupes.httpcodec.types.StringList
Creates a new list with items copied from the existing collection.
subtype() - Method in class org.jdrupes.httpcodec.types.MediaBase.MediaTypePair
Returns the subtype
subtype() - Method in class org.jdrupes.httpcodec.types.MediaBase
Returns the subtype
supportsProtocol(String) - Method in class org.jdrupes.httpcodec.plugin.UpgradeProvider
Checks if the plugin supports the given protocol.
supportsProtocol(String) - Method in class org.jdrupes.httpcodec.protocols.websocket.WsProtocolProvider
 
switchedTo() - Method in class org.jdrupes.httpcodec.Engine
Returns the protocol that this engine has been switched to, if any.
SWITCHING_PROTOCOLS - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 

T

tag() - Method in class org.jdrupes.httpcodec.types.Etag
 
TE - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
TEMPORARY_REDIRECT - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
TOKEN_CHARS - Static variable in interface org.jdrupes.httpcodec.protocols.http.HttpConstants
 
TOKEN_REGEXP - Static variable in interface org.jdrupes.httpcodec.protocols.http.HttpConstants
 
TOKEN68_CHARS - Static variable in interface org.jdrupes.httpcodec.protocols.http.HttpConstants
 
TOKEN68_REGEXP - Static variable in interface org.jdrupes.httpcodec.protocols.http.HttpConstants
 
token68Length(String, int) - Static method in class org.jdrupes.httpcodec.types.Converters
Determines the length of a token68 in a header field
tokenLength(String, int) - Static method in class org.jdrupes.httpcodec.types.Converters
Determines the length of a token in a header field
topLevelType() - Method in class org.jdrupes.httpcodec.types.MediaBase.MediaTypePair
Returns the top-level type.
topLevelType() - Method in class org.jdrupes.httpcodec.types.MediaBase
Returns the top-level type.
toString() - Method in class org.jdrupes.httpcodec.Codec.Result
 
toString() - Method in class org.jdrupes.httpcodec.Decoder.Result
 
toString() - Method in class org.jdrupes.httpcodec.protocols.http.client.HttpResponseDecoder.Result
 
toString() - Method in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpProtocol
 
toString() - Method in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.TransferCoding
 
toString() - Method in class org.jdrupes.httpcodec.protocols.http.HttpField
 
toString() - Method in class org.jdrupes.httpcodec.protocols.http.HttpRequest
 
toString() - Method in class org.jdrupes.httpcodec.protocols.http.server.HttpResponseEncoder.Result
 
toString() - Method in class org.jdrupes.httpcodec.protocols.websocket.WsCloseFrame
 
toString() - Method in class org.jdrupes.httpcodec.protocols.websocket.WsMessageHeader
 
toString() - Method in class org.jdrupes.httpcodec.types.CommentedValue
 
toString() - Method in class org.jdrupes.httpcodec.types.MediaBase.MediaTypePair
 
toString() - Method in class org.jdrupes.httpcodec.types.ParameterizedValue
 
toString() - Method in class org.jdrupes.httpcodec.util.OptimizedCharsetDecoder
 
TRAILER - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
TRANSFER_ENCODING - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 

U

UNAUTHORIZED - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
unmappableCharacterAction() - Method in class org.jdrupes.httpcodec.util.OptimizedCharsetDecoder
 
unmatchedLength(String, int, String) - Method in class org.jdrupes.httpcodec.types.Converters
Returns the length up to one of the match chars or end of string.
unquote(String) - Static method in class org.jdrupes.httpcodec.types.Converters
If the string contains a char with a backslash before it, remove the backslash.
UNQUOTE_ONLY - Static variable in class org.jdrupes.httpcodec.types.Converters
A noop converter, except that text is trimmed and unquoted when converted to a value.
UNQUOTED_STRING - Static variable in class org.jdrupes.httpcodec.types.Converters
A noop converter, except that text is trimmed when converted to a value.
unquoteString(String) - Static method in class org.jdrupes.httpcodec.types.Converters
If the value is double quoted, remove the quotes and escape characters.
UNSET - Enum constant in enum class org.jdrupes.httpcodec.types.Converters.SameSiteAttribute
Don’t set the attribute.
UNSUPPORTED_MEDIA_TYPE - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
UNTIL_CLOSE - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpDecoder.BodyMode
 
UPGRADE - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
UpgradeProvider - Class in org.jdrupes.httpcodec.plugin
The base class for a protocol that the HTTP connection can be upgraded to.
UpgradeProvider() - Constructor for class org.jdrupes.httpcodec.plugin.UpgradeProvider
 
URI_CONV - Static variable in class org.jdrupes.httpcodec.types.Converters
A converter for a URI.
USE_PROXY - Enum constant in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
 
USER_AGENT - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 

V

value() - Method in class org.jdrupes.httpcodec.protocols.http.HttpField
Returns the header field’s parsed value.
value() - Method in class org.jdrupes.httpcodec.types.CommentedValue
Returns the value.
value() - Method in enum class org.jdrupes.httpcodec.types.Converters.SameSiteAttribute
 
value() - Method in class org.jdrupes.httpcodec.types.Directive
 
value() - Method in class org.jdrupes.httpcodec.types.ParameterizedValue
Returns the value.
valueAdder() - Method in class org.jdrupes.httpcodec.types.DefaultMultiValueConverter
 
valueAdder() - Method in interface org.jdrupes.httpcodec.types.MultiValueConverter
Returns the value adder
valueConverter() - Method in class org.jdrupes.httpcodec.types.DefaultMultiValueConverter
Deprecated.
valueConverter() - Method in interface org.jdrupes.httpcodec.types.MultiValueConverter
valueConverter(T) - Method in class org.jdrupes.httpcodec.types.DefaultMultiValueConverter
 
valueConverter(T) - Method in interface org.jdrupes.httpcodec.types.MultiValueConverter
Returns the value converter.
valueForName(String) - Method in class org.jdrupes.httpcodec.types.CacheControlDirectives
Returns the value for the directive with the given name.
valueForName(String) - Method in class org.jdrupes.httpcodec.types.CookieList
Returns the value for the cookie with the given name.
valueOf(String) - Static method in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpProtocol
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.TransferCoding
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.jdrupes.httpcodec.protocols.http.HttpDecoder.BodyMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.jdrupes.httpcodec.protocols.websocket.WsCodec.ClosingState
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.jdrupes.httpcodec.types.Converters.SameSiteAttribute
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpProtocol
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.HttpStatus
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.jdrupes.httpcodec.protocols.http.HttpConstants.TransferCoding
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.jdrupes.httpcodec.protocols.http.HttpDecoder.BodyMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.jdrupes.httpcodec.protocols.websocket.WsCodec.ClosingState
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.jdrupes.httpcodec.types.Converters.SameSiteAttribute
Returns an array containing the constants of this enum class, in the order they are declared.
VARY - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
VIA - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 

W

WARNING - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
WEIGHT_COMPARATOR - Static variable in class org.jdrupes.httpcodec.types.ParameterizedValue
 
WEIGHTED_STRINGS - Static variable in class org.jdrupes.httpcodec.types.Converters
A converter for a weighted list of strings.
whiteSpaceLength(String, int) - Static method in class org.jdrupes.httpcodec.types.Converters
Determines the length of a white space sequence in a header field.
WILDCARD - Static variable in class org.jdrupes.httpcodec.types.Converters
Used by the Etag.EtagConverter to unambiguously denote a decoded wildcard.
write(byte[], int, int) - Method in class org.jdrupes.httpcodec.util.ByteBufferOutputStream
 
write(int) - Method in class org.jdrupes.httpcodec.util.ByteBufferOutputStream
 
write(ByteBuffer) - Method in class org.jdrupes.httpcodec.util.ByteBufferOutputStream
Copies the data from the given buffer to this output stream.
write(ByteBuffer, int) - Method in class org.jdrupes.httpcodec.util.ByteBufferOutputStream
Copies length bytes from the given buffer to this output stream.
WsCloseFrame - Class in org.jdrupes.httpcodec.protocols.websocket
Represents a WebSocket close frame.
WsCloseFrame(Integer, CharBuffer) - Constructor for class org.jdrupes.httpcodec.protocols.websocket.WsCloseFrame
Creates a new close control frame.
WsCloseResponse - Class in org.jdrupes.httpcodec.protocols.websocket
A special close frame created by the decoder.
WsCodec - Class in org.jdrupes.httpcodec.protocols.websocket
 
WsCodec() - Constructor for class org.jdrupes.httpcodec.protocols.websocket.WsCodec
 
WsCodec.ClosingState - Enum Class in org.jdrupes.httpcodec.protocols.websocket
 
WsDecoder - Class in org.jdrupes.httpcodec.protocols.websocket
The Websocket decoder.
WsDecoder() - Constructor for class org.jdrupes.httpcodec.protocols.websocket.WsDecoder
 
WsDecoder.Result - Class in org.jdrupes.httpcodec.protocols.websocket
Results from WsDecoder add no additional information to Decoder.Result.
WsDecoder.Result.Factory - Class in org.jdrupes.httpcodec.protocols.websocket
 
WsDefaultControlFrame - Class in org.jdrupes.httpcodec.protocols.websocket
Control frames with binary application data.
WsDefaultControlFrame(ByteBuffer) - Constructor for class org.jdrupes.httpcodec.protocols.websocket.WsDefaultControlFrame
Creates a new frame.
WsEncoder - Class in org.jdrupes.httpcodec.protocols.websocket
The Websocket encoder.
WsEncoder(boolean) - Constructor for class org.jdrupes.httpcodec.protocols.websocket.WsEncoder
Creates new encoder.
WsEncoder.Result - Class in org.jdrupes.httpcodec.protocols.websocket
Results from HttpEncoder provide no additional information compared to Codec.Result.
WsEncoder.Result.Factory - Class in org.jdrupes.httpcodec.protocols.websocket
A factory for creating new Results.
WsFrameHeader - Class in org.jdrupes.httpcodec.protocols.websocket
The base class for all Websocket frame headers.
WsFrameHeader() - Constructor for class org.jdrupes.httpcodec.protocols.websocket.WsFrameHeader
 
WsMessageHeader - Class in org.jdrupes.httpcodec.protocols.websocket
The Websocket message header.
WsMessageHeader(boolean, boolean) - Constructor for class org.jdrupes.httpcodec.protocols.websocket.WsMessageHeader
Creates a new message header.
WsPingFrame - Class in org.jdrupes.httpcodec.protocols.websocket
The Websocket ping frame.
WsPingFrame(ByteBuffer) - Constructor for class org.jdrupes.httpcodec.protocols.websocket.WsPingFrame
A ping control frame.
WsPongFrame - Class in org.jdrupes.httpcodec.protocols.websocket
The Websocket pong frame.
WsPongFrame(ByteBuffer) - Constructor for class org.jdrupes.httpcodec.protocols.websocket.WsPongFrame
A pong control frame.
WsProtocolProvider - Class in org.jdrupes.httpcodec.protocols.websocket
A protocol provider for the WebSocket protocol.
WsProtocolProvider() - Constructor for class org.jdrupes.httpcodec.protocols.websocket.WsProtocolProvider
 
WWW_AUTHENTICATE - Static variable in class org.jdrupes.httpcodec.protocols.http.HttpField
 
wwwFormUrlencode(Map<String, List<String>>) - Static method in class org.jdrupes.httpcodec.protocols.http.HttpRequest
Www-form-urlencodes the given data, using UTF-8 to encode keys and values.
wwwFormUrlencode(Map<String, List<String>>, Charset) - Static method in class org.jdrupes.httpcodec.protocols.http.HttpRequest
Www-form-urlencodes the given data, using the given charset to encode keys and values.
A B C D E F G H I L M N O P Q R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form