Uses of Class
io.github.mahmoudimus.http2.Http2Exception
Packages that use Http2Exception
-
Uses of Http2Exception in io.github.mahmoudimus.http2
Subclasses of Http2Exception in io.github.mahmoudimus.http2Modifier and TypeClassDescriptionfinal classA decoded field section is larger than the decoder's SETTINGS_MAX_HEADER_LIST_SIZE.Methods in io.github.mahmoudimus.http2 that return Http2ExceptionModifier and TypeMethodDescriptionstatic Http2ExceptionHttp2Exception.connectionError(ErrorCode errorCode, String message) An error that ends the connection.static Http2ExceptionHttp2Exception.streamError(int streamId, ErrorCode errorCode, String message) An error that ends only the given stream.Methods in io.github.mahmoudimus.http2 that throw Http2ExceptionModifier and TypeMethodDescriptionvoidFlowControlWindow.adjust(long delta) Applies a change of SETTINGS_INITIAL_WINDOW_SIZE (delta = new - old) to a stream window (§6.9.2).Http2Settings.apply(Frame.Settings frame) These settings updated by a peer's SETTINGS frame, values processed in order and unknown identifiers ignored.static voidHttp2Headers.checkContentLength(int streamId, long declared, long received, boolean endStream) Checks DATA received against a declaredcontent-length(§8.1.1).HpackDecoder.decode(int streamId, byte[] block) Decodes a complete HPACK field block.HpackDecoder.decode(int streamId, byte[] block, int offset, int length) Decodes one complete field block.voidFlowControlWindow.increment(int increment) Credits the window, as a WINDOW_UPDATE does.voidFlowController.onDataReceived(int streamId, int length) Accounts for a received flow-controlled frame (DATA:Frame.Data.flowControlledLength()).voidFlowController.onLocalInitialWindowSize(int newSize) Applies this endpoint's new SETTINGS_INITIAL_WINDOW_SIZE, once acknowledged, to every receive window.voidFlowController.onPeerInitialWindowSize(int newSize) Applies a new SETTINGS_INITIAL_WINDOW_SIZE from the peer to every stream's send window.voidFlowController.onWindowUpdateReceived(int streamId, int increment) Credits a send window for a WINDOW_UPDATE received.voidFlowController.onWindowUpdateSent(int streamId, int increment) Credits a receive window for a WINDOW_UPDATE this endpoint sent (stream 0: the connection).voidFlowControlWindow.receive(int length) Debits the window for a received flow-controlled frame.static RequestHeadersHttp2Headers.toRequest(int streamId, List<HeaderField> fields) Validates a decoded request header section.static ResponseHeadersHttp2Headers.toResponse(int streamId, List<HeaderField> fields) Validates a decoded response header section (final or 1xx).static voidHttp2Settings.validate(int id, long value) Checks one received setting (RFC 9113 §6.5.2).static List<HeaderField> Http2Headers.validateTrailers(int streamId, List<HeaderField> fields) Validates a trailer section: regular fields only.