Uses of Interface
org.jdrupes.httpcodec.Encoder
Packages that use Encoder
Package
Description
The entry point interfaces and classes.
Provides the API for adding “upgrade” protocols
Classes required for handling the HTTP protocol.
HTTP codecs required on the client side.
HTTP codecs required on the server side.
Classes for handling the Websocket protocol.
-
Uses of Encoder in org.jdrupes.httpcodec
Methods in org.jdrupes.httpcodec that return EncoderModifier and TypeMethodDescriptionEncoder<?,
?> Codec.ProtocolSwitchResult.newEncoder()
The encoder to be used for the next message if a protocol switch occured.ClientEngine.requestEncoder()
ServerEngine.responseEncoder()
Returns the response encoder.Encoder.setPeerDecoder
(Decoder<D, T> decoder) Sets the peer decoder.Methods in org.jdrupes.httpcodec with parameters of type EncoderModifier and TypeMethodDescriptionDecoder.setPeerEncoder
(Encoder<R, T> encoder) Sets the peer encoder.Constructors in org.jdrupes.httpcodec with parameters of type Encoder -
Uses of Encoder in org.jdrupes.httpcodec.plugin
Methods in org.jdrupes.httpcodec.plugin that return EncoderModifier and TypeMethodDescriptionabstract 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 EncoderModifier and TypeClassDescriptionclass
HttpEncoder<T extends HttpMessageHeader,
D extends HttpMessageHeader> Implements an encoder for HTTP.Fields in org.jdrupes.httpcodec.protocols.http declared as EncoderMethods in org.jdrupes.httpcodec.protocols.http that return EncoderMethods in org.jdrupes.httpcodec.protocols.http with parameters of type Encoder -
Uses of Encoder in org.jdrupes.httpcodec.protocols.http.client
Classes in org.jdrupes.httpcodec.protocols.http.client that implement EncoderMethods in org.jdrupes.httpcodec.protocols.http.client that return EncoderMethods in org.jdrupes.httpcodec.protocols.http.client with parameters of type EncoderModifier and TypeMethodDescriptionHttpResponseDecoder.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 -
Uses of Encoder in org.jdrupes.httpcodec.protocols.http.server
Classes in org.jdrupes.httpcodec.protocols.http.server that implement EncoderMethods in org.jdrupes.httpcodec.protocols.http.server that return EncoderMethods in org.jdrupes.httpcodec.protocols.http.server with parameters of type EncoderModifier and TypeMethodDescriptionHttpResponseEncoder.Result.Factory.newResult
(boolean overflow, boolean underflow, boolean closeConnection, String newProtocol, Decoder<?, ?> newDecoder, Encoder<?, ?> newEncoder) Create a new result.Constructors in org.jdrupes.httpcodec.protocols.http.server with parameters of type Encoder -
Uses of Encoder in org.jdrupes.httpcodec.protocols.websocket
Classes in org.jdrupes.httpcodec.protocols.websocket that implement EncoderMethods in org.jdrupes.httpcodec.protocols.websocket that return EncoderModifier and TypeMethodDescriptionEncoder<?,
?> WsProtocolProvider.createRequestEncoder
(String protocol) Encoder<?,
?> WsProtocolProvider.createResponseEncoder
(String protocol) WsEncoder.setPeerDecoder
(Decoder<WsFrameHeader, WsFrameHeader> decoder) Methods in org.jdrupes.httpcodec.protocols.websocket with parameters of type EncoderModifier and TypeMethodDescriptionWsDecoder.setPeerEncoder
(Encoder<WsFrameHeader, WsFrameHeader> encoder)