Uses of Class
org.jdrupes.httpcodec.ProtocolException
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.
Classes for handling the Websocket protocol.
-
Uses of ProtocolException in org.jdrupes.httpcodec
Modifier and TypeMethodDescriptionClientEngine.decode
(ByteBuffer in, Buffer out, boolean endOfInput) Convenience method to invoke the decoder’s decode method.Decoder.decode
(ByteBuffer in, Buffer out, boolean endOfInput) Decodes the next chunk of data.ServerEngine.decode
(ByteBuffer in, Buffer out, boolean endOfInput) Decodes a request sent to the server. -
Uses of ProtocolException in org.jdrupes.httpcodec.plugin
Modifier and TypeMethodDescriptionabstract void
UpgradeProvider.checkSwitchingResponse
(HttpRequest request, HttpResponse response) Check the101 Switching Protocol
response for any problem indicators. -
Uses of ProtocolException in org.jdrupes.httpcodec.protocols.http
Modifier and TypeClassDescriptionclass
Represents a violation of the HTTP protocol.Modifier and TypeMethodDescriptionHttpDecoder.decode
(ByteBuffer in, Buffer out, boolean endOfInput) Decodes the next chunk of data.protected abstract HttpDecoder.BodyMode
HttpDecoder.headerReceived
(T message) Informs the derived class that the header has been received completely.protected abstract T
HttpDecoder.newMessage
(String startLine) Informs the derived class about the start of a new message. -
Uses of ProtocolException in org.jdrupes.httpcodec.protocols.http.client
Modifier and TypeMethodDescriptionHttpResponseDecoder.decode
(ByteBuffer in, Buffer out, boolean endOfInput) protected HttpDecoder.BodyMode
HttpResponseDecoder.headerReceived
(HttpResponse message) -
Uses of ProtocolException in org.jdrupes.httpcodec.protocols.websocket
Modifier and TypeMethodDescriptionvoid
WsProtocolProvider.checkSwitchingResponse
(HttpRequest request, HttpResponse response) WsDecoder.decode
(ByteBuffer in, Buffer out, boolean endOfInput)