Uses of Class
org.miaixz.bus.http.metric.http.Http2Header
Packages that use Http2Header
Package
Description
An HTTP client for Java applications.
Provides the internal implementation of the HTTP/1.1 and HTTP/2 protocols.
-
Uses of Http2Header in org.miaixz.bus.http
Methods in org.miaixz.bus.http that return types with arguments of type Http2HeaderModifier and TypeMethodDescriptionstatic List<Http2Header> Builder.toHeaderBlock(Headers headers) Converts aHeadersobject to a list of HTTP/2 headers.Method parameters in org.miaixz.bus.http with type arguments of type Http2HeaderModifier and TypeMethodDescriptionstatic HeadersBuilder.toHeaders(List<Http2Header> headerBlock) Converts a list of HTTP/2 headers to aHeadersobject. -
Uses of Http2Header in org.miaixz.bus.http.metric.http
Methods in org.miaixz.bus.http.metric.http that return types with arguments of type Http2HeaderModifier and TypeMethodDescriptionstatic List<Http2Header> Http2Codec.http2HeadersList(Request request) Converts an HTTP request to a list of HTTP/2 headers.Method parameters in org.miaixz.bus.http.metric.http with type arguments of type Http2HeaderModifier and TypeMethodDescriptionvoidHttp2Writer.headers(boolean outFinished, int streamId, List<Http2Header> headerBlock) Writes a HEADERS frame, followed by any necessary CONTINUATION frames.Http2Connection.newStream(List<Http2Header> requestHeaders, boolean out) Returns a new locally-initiated stream.booleanPushObserver.onHeaders(int streamId, List<Http2Header> responseHeaders, boolean last) The response headers corresponding to the pushed request.booleanPushObserver.onRequest(int streamId, List<Http2Header> requestHeaders) Describes the request that the server intends to push a response for.voidHttp2Writer.pushPromise(int streamId, int promisedStreamId, List<Http2Header> requestHeaders) HTTP/2 only.Http2Connection.pushStream(int associatedStreamId, List<Http2Header> requestHeaders, boolean out) Returns a new server-initiated stream.voidHttp2Stream.writeHeaders(List<Http2Header> responseHeaders, boolean outFinished, boolean flushHeaders) Sends a reply to an incoming stream.