Package com.linkedin.alpini.netty4.http2
Class Http1FullRequest
java.lang.Object
io.netty.handler.codec.http.DefaultHttpObject
io.netty.handler.codec.http.DefaultHttpMessage
io.netty.handler.codec.http.DefaultHttpRequest
com.linkedin.alpini.netty4.misc.BasicHttpRequest
com.linkedin.alpini.netty4.misc.BasicFullHttpRequest
com.linkedin.alpini.netty4.http2.Http1FullRequest
- All Implemented Interfaces:
BasicRequest
,io.netty.buffer.ByteBufHolder
,io.netty.handler.codec.DecoderResultProvider
,io.netty.handler.codec.http.FullHttpMessage
,io.netty.handler.codec.http.FullHttpRequest
,io.netty.handler.codec.http.HttpContent
,io.netty.handler.codec.http.HttpMessage
,io.netty.handler.codec.http.HttpObject
,io.netty.handler.codec.http.HttpRequest
,io.netty.handler.codec.http.LastHttpContent
,io.netty.util.AttributeMap
,io.netty.util.ReferenceCounted
,Cloneable
An implementation of
BasicFullHttpRequest
which always uses a Http1Headers
for
holding the headers. This is to aid efficiently encapsulating a Http2 request object as a Http1 object.-
Field Summary
Fields inherited from class com.linkedin.alpini.netty4.misc.BasicFullHttpRequest
_trailingHeaders
Fields inherited from interface io.netty.handler.codec.http.LastHttpContent
EMPTY_LAST_CONTENT
-
Constructor Summary
ConstructorDescriptionHttp1FullRequest
(io.netty.handler.codec.http.FullHttpRequest request) Http1FullRequest
(io.netty.handler.codec.http.HttpRequest request, Http1Headers headers, Http1Headers trailingHeaders, io.netty.buffer.ByteBuf content) Http1FullRequest
(io.netty.handler.codec.http.HttpVersion httpVersion, io.netty.buffer.ByteBuf content, Http1Headers headers, UUID requestId, long requestTimestamp, long requestNanos) Http1FullRequest
(io.netty.handler.codec.http.HttpVersion httpVersion, io.netty.handler.codec.http.HttpMethod method, String uri, boolean validateHeaders, long requestTimestamp, long requestNanos) Http1FullRequest
(io.netty.handler.codec.http.HttpVersion httpVersion, io.netty.handler.codec.http.HttpMethod method, String uri, long requestTimestamp, long requestNanos) Http1FullRequest
(io.netty.handler.codec.http.HttpVersion httpVersion, io.netty.handler.codec.http.HttpMethod method, String uri, io.netty.buffer.ByteBuf content, boolean validateHeaders, long requestTimestamp, long requestNanos) Http1FullRequest
(io.netty.handler.codec.http.HttpVersion httpVersion, io.netty.handler.codec.http.HttpMethod method, String uri, io.netty.buffer.ByteBuf content, long requestTimestamp, long requestNanos) Http1FullRequest
(io.netty.handler.codec.http.HttpVersion httpVersion, io.netty.handler.codec.http.HttpMethod method, String uri, io.netty.buffer.ByteBuf content, io.netty.handler.codec.http.HttpHeaders headers, io.netty.handler.codec.http.HttpHeaders trailingHeader, UUID requestId, long requestTimestamp, long requestNanos) -
Method Summary
Methods inherited from class com.linkedin.alpini.netty4.misc.BasicFullHttpRequest
clone, content, copy, duplicate, equals, hashCode, refCnt, release, release, retain, retain, retainedDuplicate, setProtocolVersion, toString, touch, touch, trailingHeaders
Methods inherited from class com.linkedin.alpini.netty4.misc.BasicHttpRequest
attr, generateRequestId, getMethodName, getRequestContentLength, getRequestHeaders, getRequestId, getRequestNanos, getRequestTimestamp, hasAttr, setAttributeMap
Methods inherited from class io.netty.handler.codec.http.DefaultHttpRequest
getMethod, getUri, method, uri
Methods inherited from class io.netty.handler.codec.http.DefaultHttpMessage
getProtocolVersion, headers, protocolVersion
Methods inherited from class io.netty.handler.codec.http.DefaultHttpObject
decoderResult, getDecoderResult, setDecoderResult
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.linkedin.alpini.base.misc.BasicRequest
getUri
Methods inherited from interface io.netty.handler.codec.DecoderResultProvider
decoderResult, setDecoderResult
Methods inherited from interface io.netty.handler.codec.http.HttpMessage
getProtocolVersion, headers, protocolVersion
Methods inherited from interface io.netty.handler.codec.http.HttpObject
getDecoderResult
Methods inherited from interface io.netty.handler.codec.http.HttpRequest
getMethod, getUri, method, uri
-
Constructor Details
-
Http1FullRequest
public Http1FullRequest(io.netty.handler.codec.http.HttpVersion httpVersion, io.netty.handler.codec.http.HttpMethod method, String uri, long requestTimestamp, long requestNanos) -
Http1FullRequest
public Http1FullRequest(io.netty.handler.codec.http.HttpVersion httpVersion, io.netty.handler.codec.http.HttpMethod method, String uri, io.netty.buffer.ByteBuf content, long requestTimestamp, long requestNanos) -
Http1FullRequest
public Http1FullRequest(io.netty.handler.codec.http.HttpVersion httpVersion, io.netty.handler.codec.http.HttpMethod method, String uri, boolean validateHeaders, long requestTimestamp, long requestNanos) -
Http1FullRequest
public Http1FullRequest(io.netty.handler.codec.http.HttpVersion httpVersion, io.netty.handler.codec.http.HttpMethod method, String uri, io.netty.buffer.ByteBuf content, boolean validateHeaders, long requestTimestamp, long requestNanos) -
Http1FullRequest
public Http1FullRequest(io.netty.handler.codec.http.HttpVersion httpVersion, io.netty.buffer.ByteBuf content, Http1Headers headers, UUID requestId, long requestTimestamp, long requestNanos) -
Http1FullRequest
public Http1FullRequest(io.netty.handler.codec.http.HttpVersion httpVersion, io.netty.handler.codec.http.HttpMethod method, String uri, io.netty.buffer.ByteBuf content, io.netty.handler.codec.http.HttpHeaders headers, io.netty.handler.codec.http.HttpHeaders trailingHeader, UUID requestId, long requestTimestamp, long requestNanos) -
Http1FullRequest
public Http1FullRequest(io.netty.handler.codec.http.FullHttpRequest request) -
Http1FullRequest
public Http1FullRequest(io.netty.handler.codec.http.HttpRequest request, Http1Headers headers, Http1Headers trailingHeaders, io.netty.buffer.ByteBuf content)
-
-
Method Details
-
replace
- Specified by:
replace
in interfaceio.netty.buffer.ByteBufHolder
- Specified by:
replace
in interfaceio.netty.handler.codec.http.FullHttpMessage
- Specified by:
replace
in interfaceio.netty.handler.codec.http.FullHttpRequest
- Specified by:
replace
in interfaceio.netty.handler.codec.http.HttpContent
- Specified by:
replace
in interfaceio.netty.handler.codec.http.LastHttpContent
- Overrides:
replace
in classBasicFullHttpRequest
-
setMethod
- Specified by:
setMethod
in interfaceio.netty.handler.codec.http.FullHttpRequest
- Specified by:
setMethod
in interfaceio.netty.handler.codec.http.HttpRequest
- Overrides:
setMethod
in classBasicFullHttpRequest
-
setUri
- Specified by:
setUri
in interfaceio.netty.handler.codec.http.FullHttpRequest
- Specified by:
setUri
in interfaceio.netty.handler.codec.http.HttpRequest
- Overrides:
setUri
in classBasicFullHttpRequest
-