Uses of Class
org.jdrupes.httpcodec.ProtocolException
Packages that use 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
Methods in org.jdrupes.httpcodec that throw ProtocolExceptionModifier 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
Methods in org.jdrupes.httpcodec.plugin that throw ProtocolExceptionModifier 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
Subclasses of ProtocolException in org.jdrupes.httpcodec.protocols.httpModifier and TypeClassDescriptionclass
Represents a violation of the HTTP protocol.Methods in org.jdrupes.httpcodec.protocols.http that throw ProtocolExceptionModifier 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
Methods in org.jdrupes.httpcodec.protocols.http.client that throw ProtocolExceptionModifier 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
Methods in org.jdrupes.httpcodec.protocols.websocket that throw ProtocolExceptionModifier and TypeMethodDescriptionvoid
WsProtocolProvider.checkSwitchingResponse
(HttpRequest request, HttpResponse response) WsDecoder.decode
(ByteBuffer in, Buffer out, boolean endOfInput)