Uses of Record Class
io.github.mahmoudimus.http3.HeaderField
Packages that use HeaderField
-
Uses of HeaderField in io.github.mahmoudimus.http3
Methods in io.github.mahmoudimus.http3 that return HeaderFieldModifier and TypeMethodDescriptionQpackDecoder.dynamicTableEntry(long absoluteIndex) The dynamic table entry with this absolute index (0 is the first ever inserted), or null if absent.QpackEncoder.dynamicTableEntry(long absoluteIndex) The dynamic table entry with this absolute index, or null if absent.Methods in io.github.mahmoudimus.http3 that return types with arguments of type HeaderFieldModifier and TypeMethodDescriptionQpackDecoder.decode(long streamId, byte[] section) Decodes one encoded field section (the payload of a HEADERS or PUSH_PROMISE frame).RequestHeaders.fields()Returns the value of thefieldsrecord component.ResponseHeaders.fields()Returns the value of thefieldsrecord component.QpackDecoder.resume(long streamId) Decodes the blocked field section of a stream thatQpackDecoder.onEncoderStream(byte[])reported as ready.static List<HeaderField> Http3Headers.validateTrailers(long streamId, List<HeaderField> fields) Validates a trailer section: regular fields only.Method parameters in io.github.mahmoudimus.http3 with type arguments of type HeaderFieldModifier and TypeMethodDescriptionbyte[]QpackEncoder.encode(long streamId, List<HeaderField> fields) Encodes one field section for a HEADERS or PUSH_PROMISE frame on the given stream, queuing any encoder-stream instructions it needs.static RequestHeadersHttp3Headers.toRequest(long streamId, List<HeaderField> fields) Validates a decoded request header section, accepting extended CONNECT (the caller rejects it if it did not send SETTINGS_ENABLE_CONNECT_PROTOCOL; seeHttp3Headers.toRequest(long, List, boolean)).static RequestHeadersHttp3Headers.toRequest(long streamId, List<HeaderField> fields, boolean extendedConnect) Validates a decoded request header section.static ResponseHeadersHttp3Headers.toResponse(long streamId, List<HeaderField> fields) Validates a decoded response header section (final or 1xx).static List<HeaderField> Http3Headers.validateTrailers(long streamId, List<HeaderField> fields) Validates a trailer section: regular fields only.Constructor parameters in io.github.mahmoudimus.http3 with type arguments of type HeaderFieldModifierConstructorDescriptionRequestHeaders(String method, String scheme, String authority, String path, String protocol, List<HeaderField> fields, long contentLength) Creates a request header section.ResponseHeaders(int status, List<HeaderField> fields, long contentLength) Creates a response header section.