Module bus.http

Package org.miaixz.bus.http.metric.http


package org.miaixz.bus.http.metric.http
Provides the internal implementation of the HTTP/1.1 and HTTP/2 protocols.
Since:
Java 17+
Author:
Kimi Liu
  • Class
    Description
    Bridges from application code to network code.
    This is the last interceptor in the chain.
    Reads and writes HPACK v10.
    A socket connection that can be used to send HTTP/1.1 messages.
    Defines constants and utility methods for the HTTP/2 protocol.
    Encodes requests and decodes responses using HTTP/2 frames.
    A socket connection to a remote peer.
     
    Listener of streams and settings initiated by the peer.
    Represents an HTTP/2 error code, as defined in RFC 7540, Section 7.
    An HTTP header: the name is an ASCII string, but the value can be UTF-8.
    Reads HTTP/2 transport frames.
    Settings describe characteristics of the sending peer, which are used by the receiving peer.
    A logical bidirectional stream.
    Writes HTTP/2 transport frames.
    Encodes HTTP requests and decodes HTTP responses.
    This class was originally composed of the following classes from Twitter Hpack.
    An interface for handling server-initiated HTTP requests, specific to HTTP/2.
    A concrete interceptor chain that carries the entire interceptor chain: all application interceptors, the Http core, all network interceptors, and finally the network caller.
    This class generates the request line of an HTTP/1.1 request.
    This interceptor recovers from failures and follows redirects as necessary.
    Represents the status line of an HTTP response, such as "HTTP/1.1 200 OK".
    An exception thrown when an HTTP/2 stream is reset without damaging the underlying socket.