Uses of Interface
org.jdrupes.httpcodec.Encoder
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 Encoder in org.jdrupes.httpcodec
Methods in org.jdrupes.httpcodec that return Encoder Modifier and Type Method Description Encoder<?,?>
Codec.ProtocolSwitchResult. newEncoder()
The encoder to be used for the next message if a protocol switch occured.Encoder<Q,R>
ClientEngine. requestEncoder()
Encoder<R,Q>
ServerEngine. responseEncoder()
Returns the response encoder.Encoder<T,D>
Encoder. setPeerDecoder(Decoder<D,T> decoder)
Sets the peer decoder.Methods in org.jdrupes.httpcodec with parameters of type Encoder Modifier and Type Method Description Decoder<T,R>
Decoder. setPeerEncoder(Encoder<R,T> encoder)
Sets the peer encoder. -
Uses of Encoder in org.jdrupes.httpcodec.plugin
Methods in org.jdrupes.httpcodec.plugin that return Encoder Modifier and Type Method Description abstract Encoder<?,?>
UpgradeProvider. createRequestEncoder(String protocol)
Creates a new request encoder for the protocol.abstract Encoder<?,?>
UpgradeProvider. createResponseEncoder(String protocol)
Creates a new response encoder for the protocol. -
Uses of Encoder in org.jdrupes.httpcodec.protocols.http
Classes in org.jdrupes.httpcodec.protocols.http that implement Encoder Modifier and Type Class Description class
HttpEncoder<T extends HttpMessageHeader,D extends HttpMessageHeader>
Implements an encoder for HTTP.Fields in org.jdrupes.httpcodec.protocols.http declared as Encoder Modifier and Type Field Description protected Encoder<R,T>
HttpDecoder. peerEncoder
Methods in org.jdrupes.httpcodec.protocols.http that return Encoder Modifier and Type Method Description Encoder<T,D>
HttpEncoder. setPeerDecoder(Decoder<D,T> decoder)
Methods in org.jdrupes.httpcodec.protocols.http with parameters of type Encoder Modifier and Type Method Description Decoder<T,R>
HttpDecoder. setPeerEncoder(Encoder<R,T> encoder)
-
Uses of Encoder in org.jdrupes.httpcodec.protocols.http.client
Classes in org.jdrupes.httpcodec.protocols.http.client that implement Encoder Modifier and Type Class Description class
HttpRequestEncoder
An encoder for HTTP requests.Methods in org.jdrupes.httpcodec.protocols.http.client that return Encoder Modifier and Type Method Description Encoder<?,?>
HttpResponseDecoder.Result. newEncoder()
Methods in org.jdrupes.httpcodec.protocols.http.client with parameters of type Encoder 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 Encoder Constructor Description Result(boolean overflow, boolean underflow, boolean closeConnection, boolean headerCompleted, String newProtocol, Encoder<?,?> newEncoder, Decoder<?,?> newDecoder)
Returns a new result. -
Uses of Encoder in org.jdrupes.httpcodec.protocols.http.server
Classes in org.jdrupes.httpcodec.protocols.http.server that implement Encoder Modifier and Type Class Description class
HttpResponseEncoder
An encoder for HTTP responses.Methods in org.jdrupes.httpcodec.protocols.http.server that return Encoder Modifier and Type Method Description Encoder<?,?>
HttpResponseEncoder.Result. newEncoder()
Methods in org.jdrupes.httpcodec.protocols.http.server with parameters of type Encoder 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 Encoder in org.jdrupes.httpcodec.protocols.websocket
Classes in org.jdrupes.httpcodec.protocols.websocket that implement Encoder Modifier and Type Class Description class
WsEncoder
The Websocket encoder.Methods in org.jdrupes.httpcodec.protocols.websocket that return Encoder Modifier and Type Method Description Encoder<?,?>
WsProtocolProvider. createRequestEncoder(String protocol)
Encoder<?,?>
WsProtocolProvider. createResponseEncoder(String protocol)
Encoder<WsFrameHeader,WsFrameHeader>
WsEncoder. setPeerDecoder(Decoder<WsFrameHeader,WsFrameHeader> decoder)
Methods in org.jdrupes.httpcodec.protocols.websocket with parameters of type Encoder Modifier and Type Method Description Decoder<WsFrameHeader,WsFrameHeader>
WsDecoder. setPeerEncoder(Encoder<WsFrameHeader,WsFrameHeader> encoder)