Uses of Interface
org.jdrupes.httpcodec.Decoder
Package | Description |
---|---|
org.jdrupes.httpcodec |
The entry point interfaces and classes.
|
org.jdrupes.httpcodec.plugin |
Provides the API for adding “upgrade” protocols
|
org.jdrupes.httpcodec.protocols.http |
Classes required for handling the HTTP protocol.
|
org.jdrupes.httpcodec.protocols.http.client |
HTTP codecs required on the client side.
|
org.jdrupes.httpcodec.protocols.http.server |
HTTP codecs required on the server side.
|
org.jdrupes.httpcodec.protocols.websocket |
Classes for handling the Websocket protocol.
|
-
Uses of Decoder in org.jdrupes.httpcodec
Methods in org.jdrupes.httpcodec that return Decoder Modifier and Type Method Description Decoder<?,?>
Codec.ProtocolSwitchResult. newDecoder()
The decoder to be used for the next message if a protocol switch occured.Decoder<Q,R>
ServerEngine. requestDecoder()
Returns the request decoder.Decoder<R,Q>
ClientEngine. responseDecoder()
Decoder<T,R>
Decoder. setPeerEncoder(Encoder<R,T> encoder)
Sets the peer encoder.Methods in org.jdrupes.httpcodec with parameters of type Decoder Modifier and Type Method Description Encoder<T,D>
Encoder. setPeerDecoder(Decoder<D,T> decoder)
Sets the peer decoder. -
Uses of Decoder in org.jdrupes.httpcodec.plugin
Methods in org.jdrupes.httpcodec.plugin that return Decoder Modifier and Type Method Description abstract Decoder<?,?>
UpgradeProvider. createRequestDecoder(String protocol)
Creates a new request decoder for the protocol.abstract Decoder<?,?>
UpgradeProvider. createResponseDecoder(String protocol)
Creates a new response decoder for the protocol. -
Uses of Decoder in org.jdrupes.httpcodec.protocols.http
Classes in org.jdrupes.httpcodec.protocols.http that implement Decoder Modifier and Type Class Description class
HttpDecoder<T extends HttpMessageHeader,R extends HttpMessageHeader>
Implements a decoder for HTTP.Fields in org.jdrupes.httpcodec.protocols.http declared as Decoder Modifier and Type Field Description protected Decoder<D,T>
HttpEncoder. peerDecoder
Methods in org.jdrupes.httpcodec.protocols.http that return Decoder Modifier and Type Method Description Decoder<T,R>
HttpDecoder. setPeerEncoder(Encoder<R,T> encoder)
Methods in org.jdrupes.httpcodec.protocols.http with parameters of type Decoder Modifier and Type Method Description Encoder<T,D>
HttpEncoder. setPeerDecoder(Decoder<D,T> decoder)
-
Uses of Decoder in org.jdrupes.httpcodec.protocols.http.client
Classes in org.jdrupes.httpcodec.protocols.http.client that implement Decoder Modifier and Type Class Description class
HttpResponseDecoder
A decoder for HTTP reponses.Methods in org.jdrupes.httpcodec.protocols.http.client that return Decoder Modifier and Type Method Description Decoder<?,?>
HttpResponseDecoder.Result. newDecoder()
Methods in org.jdrupes.httpcodec.protocols.http.client with parameters of type Decoder Modifier and Type Method Description HttpResponseDecoder.Result
HttpResponseDecoder.Result.Factory. newResult(boolean overflow, boolean underflow, boolean closeConnection, boolean headerCompleted, String newProtocol, Encoder<?,?> newEncoder, Decoder<?,?> newDecoder)
Constructors in org.jdrupes.httpcodec.protocols.http.client with parameters of type Decoder Constructor Description Result(boolean overflow, boolean underflow, boolean closeConnection, boolean headerCompleted, String newProtocol, Encoder<?,?> newEncoder, Decoder<?,?> newDecoder)
Returns a new result. -
Uses of Decoder in org.jdrupes.httpcodec.protocols.http.server
Classes in org.jdrupes.httpcodec.protocols.http.server that implement Decoder Modifier and Type Class Description class
HttpRequestDecoder
A decoder for HTTP requests.Methods in org.jdrupes.httpcodec.protocols.http.server that return Decoder Modifier and Type Method Description Decoder<?,?>
HttpResponseEncoder.Result. newDecoder()
Methods in org.jdrupes.httpcodec.protocols.http.server with parameters of type Decoder Modifier and Type Method Description HttpResponseEncoder.Result
HttpResponseEncoder.Result.Factory. newResult(boolean overflow, boolean underflow, boolean closeConnection, String newProtocol, Decoder<?,?> newDecoder, Encoder<?,?> newEncoder)
Create a new result. -
Uses of Decoder in org.jdrupes.httpcodec.protocols.websocket
Classes in org.jdrupes.httpcodec.protocols.websocket that implement Decoder Modifier and Type Class Description class
WsDecoder
The Websocket decoder.Methods in org.jdrupes.httpcodec.protocols.websocket that return Decoder Modifier and Type Method Description Decoder<?,?>
WsProtocolProvider. createRequestDecoder(String protocol)
Decoder<?,?>
WsProtocolProvider. createResponseDecoder(String protocol)
Decoder<WsFrameHeader,WsFrameHeader>
WsDecoder. setPeerEncoder(Encoder<WsFrameHeader,WsFrameHeader> encoder)
Methods in org.jdrupes.httpcodec.protocols.websocket with parameters of type Decoder Modifier and Type Method Description Encoder<WsFrameHeader,WsFrameHeader>
WsEncoder. setPeerDecoder(Decoder<WsFrameHeader,WsFrameHeader> decoder)