Uses of Class
io.netty5.handler.codec.http.HttpVersion
-
Packages that use HttpVersion Package Description io.netty5.handler.codec.http Encoder, decoder and their related message types for HTTP.io.netty5.handler.codec.http2 Handlers for sending and receiving HTTP/2 frames.io.netty5.handler.codec.rtsp An RTSP extension based on the HTTP codec. -
-
Uses of HttpVersion in io.netty5.handler.codec.http
Fields in io.netty5.handler.codec.http declared as HttpVersion Modifier and Type Field Description static HttpVersion
HttpVersion. HTTP_1_0
HTTP/1.0static HttpVersion
HttpVersion. HTTP_1_1
HTTP/1.1Methods in io.netty5.handler.codec.http that return HttpVersion Modifier and Type Method Description HttpVersion
DefaultHttpMessage. getProtocolVersion()
Deprecated.HttpVersion
HttpMessage. getProtocolVersion()
Deprecated.UseHttpMessage.protocolVersion()
instead.HttpVersion
DefaultHttpMessage. protocolVersion()
HttpVersion
HttpMessage. protocolVersion()
Returns the protocol version of thisHttpMessage
static HttpVersion
HttpVersion. valueOf(String text)
Returns an existing or newHttpVersion
instance which matches to the specified protocol version string.Methods in io.netty5.handler.codec.http with parameters of type HttpVersion Modifier and Type Method Description int
HttpVersion. compareTo(HttpVersion o)
static void
HttpUtil. setKeepAlive(HttpHeaders h, HttpVersion httpVersion, boolean keepAlive)
Sets the value of the"Connection"
header depending on the protocol version of the specified message.FullHttpRequest
DefaultFullHttpRequest. setProtocolVersion(HttpVersion version)
FullHttpResponse
DefaultFullHttpResponse. setProtocolVersion(HttpVersion version)
HttpMessage
DefaultHttpMessage. setProtocolVersion(HttpVersion version)
HttpRequest
DefaultHttpRequest. setProtocolVersion(HttpVersion version)
HttpResponse
DefaultHttpResponse. setProtocolVersion(HttpVersion version)
FullHttpRequest
FullHttpRequest. setProtocolVersion(HttpVersion version)
FullHttpResponse
FullHttpResponse. setProtocolVersion(HttpVersion version)
HttpMessage
HttpMessage. setProtocolVersion(HttpVersion version)
Set the protocol version of thisHttpMessage
HttpRequest
HttpRequest. setProtocolVersion(HttpVersion version)
HttpResponse
HttpResponse. setProtocolVersion(HttpVersion version)
Constructors in io.netty5.handler.codec.http with parameters of type HttpVersion Constructor Description DefaultFullHttpRequest(HttpVersion httpVersion, HttpMethod method, String uri, Buffer payload)
DefaultFullHttpRequest(HttpVersion httpVersion, HttpMethod method, String uri, Buffer payload, boolean validateHeaders)
DefaultFullHttpRequest(HttpVersion httpVersion, HttpMethod method, String uri, Buffer payload, HttpHeaders headers, HttpHeaders trailingHeader)
DefaultFullHttpResponse(HttpVersion version, HttpResponseStatus status, Buffer payload)
DefaultFullHttpResponse(HttpVersion version, HttpResponseStatus status, Buffer payload, boolean validateHeaders)
DefaultFullHttpResponse(HttpVersion version, HttpResponseStatus status, Buffer payload, boolean validateHeaders, boolean singleFieldHeaders)
DefaultFullHttpResponse(HttpVersion version, HttpResponseStatus status, Buffer payload, HttpHeaders headers, HttpHeaders trailingHeaders)
DefaultHttpMessage(HttpVersion version)
Creates a new instance.DefaultHttpMessage(HttpVersion version, boolean validateHeaders, boolean singleFieldHeaders)
Creates a new instance.DefaultHttpMessage(HttpVersion version, HttpHeaders headers)
Creates a new instance.DefaultHttpRequest(HttpVersion httpVersion, HttpMethod method, String uri)
Creates a new instance.DefaultHttpRequest(HttpVersion httpVersion, HttpMethod method, String uri, boolean validateHeaders)
Creates a new instance.DefaultHttpRequest(HttpVersion httpVersion, HttpMethod method, String uri, HttpHeaders headers)
Creates a new instance.DefaultHttpResponse(HttpVersion version, HttpResponseStatus status)
Creates a new instance.DefaultHttpResponse(HttpVersion version, HttpResponseStatus status, boolean validateHeaders)
Creates a new instance.DefaultHttpResponse(HttpVersion version, HttpResponseStatus status, boolean validateHeaders, boolean singleFieldHeaders)
Creates a new instance.DefaultHttpResponse(HttpVersion version, HttpResponseStatus status, HttpHeaders headers)
Creates a new instance. -
Uses of HttpVersion in io.netty5.handler.codec.http2
Methods in io.netty5.handler.codec.http2 with parameters of type HttpVersion Modifier and Type Method Description static void
HttpConversionUtil. addHttp2ToHttpHeaders(int streamId, Http2Headers inputHeaders, HttpHeaders outputHeaders, HttpVersion httpVersion, boolean isTrailer, boolean isRequest)
Translate and add HTTP/2 headers to HTTP/1.x headers. -
Uses of HttpVersion in io.netty5.handler.codec.rtsp
Fields in io.netty5.handler.codec.rtsp declared as HttpVersion Modifier and Type Field Description static HttpVersion
RtspVersions. RTSP_1_0
RTSP/1.0Methods in io.netty5.handler.codec.rtsp that return HttpVersion Modifier and Type Method Description static HttpVersion
RtspVersions. valueOf(String text)
Returns an existing or newHttpVersion
instance which matches to the specified RTSP version string.
-