Uses of Class
io.netty.handler.codec.http.HttpVersion
-
Packages that use HttpVersion Package Description io.netty.handler.codec.http Encoder, decoder and their related message types for HTTP.io.netty.handler.codec.http2 Handlers for sending and receiving HTTP/2 frames.io.netty.handler.codec.rtsp An RTSP extension based on the HTTP codec. -
-
Uses of HttpVersion in io.netty.handler.codec.http
Fields in io.netty.handler.codec.http declared as HttpVersion Modifier and Type Field Description static HttpVersionHttpVersion. HTTP_1_0HTTP/1.0static HttpVersionHttpVersion. HTTP_1_1HTTP/1.1Methods in io.netty.handler.codec.http that return HttpVersion Modifier and Type Method Description HttpVersionDefaultHttpMessage. getProtocolVersion()Deprecated.HttpVersionHttpMessage. getProtocolVersion()Deprecated.UseHttpMessage.protocolVersion()instead.HttpVersionDefaultHttpMessage. protocolVersion()HttpVersionHttpMessage. protocolVersion()Returns the protocol version of thisHttpMessagestatic HttpVersionHttpVersion. valueOf(java.lang.String text)Returns an existing or newHttpVersioninstance which matches to the specified protocol version string.Methods in io.netty.handler.codec.http with parameters of type HttpVersion Modifier and Type Method Description intHttpVersion. compareTo(HttpVersion o)static voidHttpUtil. setKeepAlive(HttpHeaders h, HttpVersion httpVersion, boolean keepAlive)Sets the value of the"Connection"header depending on the protocol version of the specified message.FullHttpRequestDefaultFullHttpRequest. setProtocolVersion(HttpVersion version)FullHttpResponseDefaultFullHttpResponse. setProtocolVersion(HttpVersion version)HttpMessageDefaultHttpMessage. setProtocolVersion(HttpVersion version)HttpRequestDefaultHttpRequest. setProtocolVersion(HttpVersion version)HttpResponseDefaultHttpResponse. setProtocolVersion(HttpVersion version)FullHttpRequestFullHttpRequest. setProtocolVersion(HttpVersion version)FullHttpResponseFullHttpResponse. setProtocolVersion(HttpVersion version)HttpMessageHttpMessage. setProtocolVersion(HttpVersion version)Set the protocol version of thisHttpMessageHttpRequestHttpRequest. setProtocolVersion(HttpVersion version)HttpResponseHttpResponse. setProtocolVersion(HttpVersion version)Constructors in io.netty.handler.codec.http with parameters of type HttpVersion Constructor Description DefaultFullHttpRequest(HttpVersion httpVersion, HttpMethod method, java.lang.String uri)Create a full HTTP response with the given HTTP version, method, and URI.DefaultFullHttpRequest(HttpVersion httpVersion, HttpMethod method, java.lang.String uri, boolean validateHeaders)Deprecated.Use theDefaultFullHttpRequest(HttpVersion, HttpMethod, String, ByteBuf, HttpHeadersFactory, HttpHeadersFactory)constructor instead.DefaultFullHttpRequest(HttpVersion httpVersion, HttpMethod method, java.lang.String uri, ByteBuf content)Create a full HTTP response with the given HTTP version, method, URI, and contents.DefaultFullHttpRequest(HttpVersion httpVersion, HttpMethod method, java.lang.String uri, ByteBuf content, boolean validateHeaders)Deprecated.Use theDefaultFullHttpRequest(HttpVersion, HttpMethod, String, ByteBuf, HttpHeadersFactory, HttpHeadersFactory)constructor instead.DefaultFullHttpRequest(HttpVersion httpVersion, HttpMethod method, java.lang.String uri, ByteBuf content, HttpHeadersFactory headersFactory, HttpHeadersFactory trailersFactory)Create a full HTTP response with the given HTTP version, method, URI, contents, and factories for creating headers and trailers.DefaultFullHttpRequest(HttpVersion httpVersion, HttpMethod method, java.lang.String uri, ByteBuf content, HttpHeaders headers, HttpHeaders trailingHeader)Create a full HTTP response with the given HTTP version, method, URI, contents, and header and trailer objects.DefaultFullHttpResponse(HttpVersion version, HttpResponseStatus status)Create an empty HTTP response with the given HTTP version and status.DefaultFullHttpResponse(HttpVersion version, HttpResponseStatus status, boolean validateHeaders)Deprecated.Prefer theDefaultFullHttpResponse(HttpVersion, HttpResponseStatus, ByteBuf, HttpHeadersFactory, HttpHeadersFactory)constructor instead.DefaultFullHttpResponse(HttpVersion version, HttpResponseStatus status, boolean validateHeaders, boolean singleFieldHeaders)Deprecated.Prefer theDefaultFullHttpResponse(HttpVersion, HttpResponseStatus, ByteBuf, HttpHeadersFactory, HttpHeadersFactory)constructor instead.DefaultFullHttpResponse(HttpVersion version, HttpResponseStatus status, ByteBuf content)Create an HTTP response with the given HTTP version, status, and contents.DefaultFullHttpResponse(HttpVersion version, HttpResponseStatus status, ByteBuf content, boolean validateHeaders)Deprecated.Prefer theDefaultFullHttpResponse(HttpVersion, HttpResponseStatus, ByteBuf, HttpHeadersFactory, HttpHeadersFactory)constructor instead.DefaultFullHttpResponse(HttpVersion version, HttpResponseStatus status, ByteBuf content, boolean validateHeaders, boolean singleFieldHeaders)Deprecated.Prefer theDefaultFullHttpResponse(HttpVersion, HttpResponseStatus, ByteBuf, HttpHeadersFactory, HttpHeadersFactory)constructor instead.DefaultFullHttpResponse(HttpVersion version, HttpResponseStatus status, ByteBuf content, HttpHeadersFactory headersFactory, HttpHeadersFactory trailersFactory)Create an HTTP response with the given HTTP version, status, contents, and with headers and trailers created by the given header factories.DefaultFullHttpResponse(HttpVersion version, HttpResponseStatus status, ByteBuf content, HttpHeaders headers, HttpHeaders trailingHeaders)Create an HTTP response with the given HTTP version, status, contents, headers and trailers.DefaultHttpMessage(HttpVersion version)Creates a new instance.DefaultHttpMessage(HttpVersion version, boolean validateHeaders, boolean singleFieldHeaders)Deprecated.Use theDefaultHttpMessage(HttpVersion, HttpHeadersFactory)constructor instead, ideally using theDefaultHttpHeadersFactory.headersFactory(), or a factory that otherwise has validation enabled.DefaultHttpMessage(HttpVersion version, HttpHeaders headers)Creates a new instance.DefaultHttpMessage(HttpVersion version, HttpHeadersFactory headersFactory)Creates a new instance.DefaultHttpRequest(HttpVersion httpVersion, HttpMethod method, java.lang.String uri)Creates a new instance.DefaultHttpRequest(HttpVersion httpVersion, HttpMethod method, java.lang.String uri, boolean validateHeaders)Deprecated.Prefer theDefaultHttpRequest(HttpVersion, HttpMethod, String)constructor instead, to always have header validation enabled.DefaultHttpRequest(HttpVersion httpVersion, HttpMethod method, java.lang.String uri, HttpHeaders headers)Creates a new instance.DefaultHttpRequest(HttpVersion httpVersion, HttpMethod method, java.lang.String uri, HttpHeadersFactory headersFactory)Creates a new instance.DefaultHttpResponse(HttpVersion version, HttpResponseStatus status)Creates a new instance.DefaultHttpResponse(HttpVersion version, HttpResponseStatus status, boolean validateHeaders)Deprecated.Use theDefaultHttpResponse(HttpVersion, HttpResponseStatus, HttpHeadersFactory)constructor instead.DefaultHttpResponse(HttpVersion version, HttpResponseStatus status, boolean validateHeaders, boolean singleFieldHeaders)Deprecated.Use theDefaultHttpResponse(HttpVersion, HttpResponseStatus, HttpHeadersFactory)constructor instead.DefaultHttpResponse(HttpVersion version, HttpResponseStatus status, HttpHeaders headers)Creates a new instance.DefaultHttpResponse(HttpVersion version, HttpResponseStatus status, HttpHeadersFactory headersFactory)Creates a new instance. -
Uses of HttpVersion in io.netty.handler.codec.http2
Methods in io.netty.handler.codec.http2 with parameters of type HttpVersion Modifier and Type Method Description static voidHttpConversionUtil. 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.netty.handler.codec.rtsp
Fields in io.netty.handler.codec.rtsp declared as HttpVersion Modifier and Type Field Description static HttpVersionRtspVersions. RTSP_1_0RTSP/1.0Methods in io.netty.handler.codec.rtsp that return HttpVersion Modifier and Type Method Description static HttpVersionRtspVersions. valueOf(java.lang.String text)Returns an existing or newHttpVersioninstance which matches to the specified RTSP version string.
-