Uses of Record Class
org.microproxy.http.HttpVersion
Packages that use HttpVersion
-
Uses of HttpVersion in org.microproxy
Methods in org.microproxy that return HttpVersionMethods in org.microproxy with parameters of type HttpVersionModifier and TypeMethodDescriptiondefault ProtocolPolicyHttpProxyServer.getProtocolPolicy(HttpVersion clientVersion) TheProtocolPolicythe server applies to the exchanges of clients that speakclientVersion(HTTP/1.0 and 1.1 alike), every field resolved: the protocol's own policy over the one for all protocols over the protocol's defaults (seeProtocolPolicy).default voidFlowTrace.upstreamRequest(boolean tls, HttpVersion version) The exchange's request is about to go to the server on the current attempt's connection, as that connection really is.Constructors in org.microproxy with parameters of type HttpVersionModifierConstructorDescriptionprotectedFlowContext(FlowContext connection, int streamId, HttpVersion version) Creates the context of one stream of the client connectionconnection, asFlowContext(FlowContext, int)does, for an HTTP/2 or an HTTP/3 connection. -
Uses of HttpVersion in org.microproxy.http
Fields in org.microproxy.http declared as HttpVersionModifier and TypeFieldDescriptionstatic final HttpVersionHttpVersion.HTTP_1_0static final HttpVersionHttpVersion.HTTP_1_1static final HttpVersionHttpVersion.HTTP_2_0HTTP/2: the version of requests that arrived on an HTTP/2 stream.static final HttpVersionHttpVersion.HTTP_3_0HTTP/3: the version of requests that arrived on an HTTP/3 (QUIC) stream, and of responses from servers reached over HTTP/3.Methods in org.microproxy.http that return HttpVersionModifier and TypeMethodDescriptionDefaultHttpRequest.protocolVersion()DefaultHttpResponse.protocolVersion()HttpMessage.protocolVersion()Returns the message's protocol version.static HttpVersionParsesHTTP/x.y, with one digit per version number.Methods in org.microproxy.http with parameters of type HttpVersionModifier and TypeMethodDescriptionDefaultFullHttpRequest.setProtocolVersion(HttpVersion version) DefaultFullHttpResponse.setProtocolVersion(HttpVersion version) DefaultHttpRequest.setProtocolVersion(HttpVersion version) DefaultHttpResponse.setProtocolVersion(HttpVersion version) HttpMessage.setProtocolVersion(HttpVersion version) Changes the message's protocol version.HttpRequest.setProtocolVersion(HttpVersion version) HttpResponse.setProtocolVersion(HttpVersion version) Constructors in org.microproxy.http with parameters of type HttpVersionModifierConstructorDescriptionDefaultFullHttpRequest(HttpVersion version, HttpMethod method, String uri) Creates a complete request with empty headers and an empty body.DefaultFullHttpRequest(HttpVersion version, HttpMethod method, String uri, byte[] content) Creates a complete request with empty headers.DefaultFullHttpRequest(HttpVersion version, HttpMethod method, String uri, String body) Creates a complete request with a UTF-8 body and empty headers.DefaultFullHttpRequest(HttpVersion version, HttpMethod method, String uri, HttpHeaders headers, byte[] content) Creates a complete request using the supplied headers and body.DefaultFullHttpResponse(HttpVersion version, HttpResponseStatus status) Creates a complete response with empty headers and an empty body.DefaultFullHttpResponse(HttpVersion version, HttpResponseStatus status, byte[] content) Creates a complete response with empty headers.DefaultFullHttpResponse(HttpVersion version, HttpResponseStatus status, String body) Creates a complete response with a UTF-8 body and empty headers.DefaultFullHttpResponse(HttpVersion version, HttpResponseStatus status, HttpHeaders headers, byte[] content) Creates a complete response using the supplied headers and body.DefaultHttpRequest(HttpVersion version, HttpMethod method, String uri) Creates a request with empty headers.DefaultHttpRequest(HttpVersion version, HttpMethod method, String uri, HttpHeaders headers) Creates a request head using the supplied headers.DefaultHttpResponse(HttpVersion version, HttpResponseStatus status) Creates a response with empty headers.DefaultHttpResponse(HttpVersion version, HttpResponseStatus status, HttpHeaders headers) Creates a response head using the supplied headers.