Uses of Interface
org.jdrupes.httpcodec.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
Modifier 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.Modifier and TypeMethodDescriptionDecoder.setPeerEncoder
(Encoder<R, T> encoder) Sets the peer encoder. -
Uses of Encoder in org.jdrupes.httpcodec.plugin
Modifier 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
Modifier and TypeClassDescriptionclass
HttpEncoder<T extends HttpMessageHeader,
D extends HttpMessageHeader> Implements an encoder for HTTP. -
Uses of Encoder in org.jdrupes.httpcodec.protocols.http.client
-
Uses of Encoder in org.jdrupes.httpcodec.protocols.http.server
-
Uses of Encoder in org.jdrupes.httpcodec.protocols.websocket
Modifier and TypeMethodDescriptionEncoder<?,
?> WsProtocolProvider.createRequestEncoder
(String protocol) Encoder<?,
?> WsProtocolProvider.createResponseEncoder
(String protocol) WsEncoder.setPeerDecoder
(Decoder<WsFrameHeader, WsFrameHeader> decoder) Modifier and TypeMethodDescriptionWsDecoder.setPeerEncoder
(Encoder<WsFrameHeader, WsFrameHeader> encoder)