Uses of Class
org.jdrupes.httpcodec.ProtocolException
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.websocket |
Classes for handling the Websocket protocol.
|
-
Uses of ProtocolException in org.jdrupes.httpcodec
Methods in org.jdrupes.httpcodec that throw ProtocolException Modifier and Type Method Description Decoder.Result<Q>
ClientEngine. decode(ByteBuffer in, Buffer out, boolean endOfInput)
Convenience method to invoke the decoder’s decode method.Decoder.Result<R>
Decoder. decode(ByteBuffer in, Buffer out, boolean endOfInput)
Decodes the next chunk of data.Decoder.Result<R>
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 ProtocolException Modifier and Type Method Description abstract 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.http Modifier and Type Class Description class
HttpProtocolException
Represents a violation of the HTTP protocol.Methods in org.jdrupes.httpcodec.protocols.http that throw ProtocolException Modifier and Type Method Description Decoder.Result<R>
HttpDecoder. 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 ProtocolException Modifier and Type Method Description HttpResponseDecoder.Result
HttpResponseDecoder. 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 ProtocolException Modifier and Type Method Description void
WsProtocolProvider. checkSwitchingResponse(HttpRequest request, HttpResponse response)
Decoder.Result<WsFrameHeader>
WsDecoder. decode(ByteBuffer in, Buffer out, boolean endOfInput)