public final class DefaultFullBinaryHttpRequest extends io.netty.handler.codec.http.DefaultFullHttpRequest implements FullBinaryHttpRequest
FullBinaryHttpRequest| Constructor and Description |
|---|
DefaultFullBinaryHttpRequest(io.netty.handler.codec.http.HttpVersion httpVersion,
io.netty.handler.codec.http.HttpMethod method,
java.lang.String scheme,
java.lang.String authority,
java.lang.String uri)
Creates a new instance.
|
DefaultFullBinaryHttpRequest(io.netty.handler.codec.http.HttpVersion httpVersion,
io.netty.handler.codec.http.HttpMethod method,
java.lang.String scheme,
java.lang.String authority,
java.lang.String uri,
boolean validateHeaders)
Creates a new instance.
|
DefaultFullBinaryHttpRequest(io.netty.handler.codec.http.HttpVersion httpVersion,
io.netty.handler.codec.http.HttpMethod method,
java.lang.String scheme,
java.lang.String authority,
java.lang.String uri,
io.netty.buffer.ByteBuf content)
Creates a new instance.
|
DefaultFullBinaryHttpRequest(io.netty.handler.codec.http.HttpVersion httpVersion,
io.netty.handler.codec.http.HttpMethod method,
java.lang.String scheme,
java.lang.String authority,
java.lang.String uri,
io.netty.buffer.ByteBuf content,
boolean validateHeaders)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
authority()
Returns the authority used.
|
FullBinaryHttpRequest |
copy() |
FullBinaryHttpRequest |
duplicate() |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
FullBinaryHttpRequest |
replace(io.netty.buffer.ByteBuf content) |
FullBinaryHttpRequest |
retain() |
FullBinaryHttpRequest |
retain(int increment) |
FullBinaryHttpRequest |
retainedDuplicate() |
java.lang.String |
scheme()
Returns the scheme used.
|
FullBinaryHttpRequest |
setMethod(io.netty.handler.codec.http.HttpMethod method) |
FullBinaryHttpRequest |
setProtocolVersion(io.netty.handler.codec.http.HttpVersion version) |
FullBinaryHttpRequest |
setUri(java.lang.String uri) |
FullBinaryHttpRequest |
touch() |
FullBinaryHttpRequest |
touch(java.lang.Object hint) |
content, refCnt, release, release, toString, trailingHeadersgetMethod, getUri, method, urigetProtocolVersion, headers, protocolVersiondecoderResult, getDecoderResult, setDecoderResultclone, finalize, getClass, notify, notifyAll, wait, wait, waitdecoderResult, setDecoderResultpublic DefaultFullBinaryHttpRequest(io.netty.handler.codec.http.HttpVersion httpVersion,
io.netty.handler.codec.http.HttpMethod method,
java.lang.String scheme,
java.lang.String authority,
java.lang.String uri)
httpVersion - HttpVersion to usemethod - HttpMethod to usescheme - the scheme to use.authority - the authority to use.uri - the uri / path to usepublic DefaultFullBinaryHttpRequest(io.netty.handler.codec.http.HttpVersion httpVersion,
io.netty.handler.codec.http.HttpMethod method,
java.lang.String scheme,
java.lang.String authority,
java.lang.String uri,
io.netty.buffer.ByteBuf content)
httpVersion - HttpVersion to usemethod - HttpMethod to usescheme - the scheme to use.authority - the authority to use.uri - the uri / path to usecontent - the payload of the request.public DefaultFullBinaryHttpRequest(io.netty.handler.codec.http.HttpVersion httpVersion,
io.netty.handler.codec.http.HttpMethod method,
java.lang.String scheme,
java.lang.String authority,
java.lang.String uri,
io.netty.buffer.ByteBuf content,
boolean validateHeaders)
httpVersion - HttpVersion to usemethod - HttpMethod to usescheme - the scheme to use.authority - the authority to use.uri - the uri / path to usecontent - the payload of the request.validateHeaders - true if header validation should be done when add headers, false
otherwise.public DefaultFullBinaryHttpRequest(io.netty.handler.codec.http.HttpVersion httpVersion,
io.netty.handler.codec.http.HttpMethod method,
java.lang.String scheme,
java.lang.String authority,
java.lang.String uri,
boolean validateHeaders)
httpVersion - HttpVersion to usemethod - HttpMethod to usescheme - the scheme to use.authority - the authority to use.uri - the uri / path to usevalidateHeaders - true if header validation should be done when add headers, false
otherwise.public java.lang.String scheme()
BinaryHttpRequestscheme in interface BinaryHttpRequestpublic java.lang.String authority()
BinaryHttpRequestauthority in interface BinaryHttpRequestpublic FullBinaryHttpRequest retain()
retain in interface io.netty.buffer.ByteBufHolderretain in interface io.netty.handler.codec.http.FullHttpMessageretain in interface io.netty.handler.codec.http.FullHttpRequestretain in interface io.netty.handler.codec.http.HttpContentretain in interface io.netty.handler.codec.http.LastHttpContentretain in interface FullBinaryHttpRequestretain in interface io.netty.util.ReferenceCountedretain in class io.netty.handler.codec.http.DefaultFullHttpRequestpublic FullBinaryHttpRequest retain(int increment)
retain in interface io.netty.buffer.ByteBufHolderretain in interface io.netty.handler.codec.http.FullHttpMessageretain in interface io.netty.handler.codec.http.FullHttpRequestretain in interface io.netty.handler.codec.http.HttpContentretain in interface io.netty.handler.codec.http.LastHttpContentretain in interface FullBinaryHttpRequestretain in interface io.netty.util.ReferenceCountedretain in class io.netty.handler.codec.http.DefaultFullHttpRequestpublic FullBinaryHttpRequest touch()
touch in interface io.netty.buffer.ByteBufHoldertouch in interface io.netty.handler.codec.http.FullHttpMessagetouch in interface io.netty.handler.codec.http.FullHttpRequesttouch in interface io.netty.handler.codec.http.HttpContenttouch in interface io.netty.handler.codec.http.LastHttpContenttouch in interface FullBinaryHttpRequesttouch in interface io.netty.util.ReferenceCountedtouch in class io.netty.handler.codec.http.DefaultFullHttpRequestpublic FullBinaryHttpRequest touch(java.lang.Object hint)
touch in interface io.netty.buffer.ByteBufHoldertouch in interface io.netty.handler.codec.http.FullHttpMessagetouch in interface io.netty.handler.codec.http.FullHttpRequesttouch in interface io.netty.handler.codec.http.HttpContenttouch in interface io.netty.handler.codec.http.LastHttpContenttouch in interface FullBinaryHttpRequesttouch in interface io.netty.util.ReferenceCountedtouch in class io.netty.handler.codec.http.DefaultFullHttpRequestpublic FullBinaryHttpRequest retainedDuplicate()
retainedDuplicate in interface io.netty.buffer.ByteBufHolderretainedDuplicate in interface io.netty.handler.codec.http.FullHttpMessageretainedDuplicate in interface io.netty.handler.codec.http.FullHttpRequestretainedDuplicate in interface io.netty.handler.codec.http.HttpContentretainedDuplicate in interface io.netty.handler.codec.http.LastHttpContentretainedDuplicate in interface FullBinaryHttpRequestretainedDuplicate in class io.netty.handler.codec.http.DefaultFullHttpRequestpublic FullBinaryHttpRequest replace(io.netty.buffer.ByteBuf content)
replace in interface io.netty.buffer.ByteBufHolderreplace in interface io.netty.handler.codec.http.FullHttpMessagereplace in interface io.netty.handler.codec.http.FullHttpRequestreplace in interface io.netty.handler.codec.http.HttpContentreplace in interface io.netty.handler.codec.http.LastHttpContentreplace in interface FullBinaryHttpRequestreplace in class io.netty.handler.codec.http.DefaultFullHttpRequestpublic FullBinaryHttpRequest setProtocolVersion(io.netty.handler.codec.http.HttpVersion version)
setProtocolVersion in interface io.netty.handler.codec.http.FullHttpRequestsetProtocolVersion in interface io.netty.handler.codec.http.HttpMessagesetProtocolVersion in interface io.netty.handler.codec.http.HttpRequestsetProtocolVersion in interface BinaryHttpRequestsetProtocolVersion in interface FullBinaryHttpRequestsetProtocolVersion in class io.netty.handler.codec.http.DefaultFullHttpRequestpublic FullBinaryHttpRequest setMethod(io.netty.handler.codec.http.HttpMethod method)
setMethod in interface io.netty.handler.codec.http.FullHttpRequestsetMethod in interface io.netty.handler.codec.http.HttpRequestsetMethod in interface BinaryHttpRequestsetMethod in interface FullBinaryHttpRequestsetMethod in class io.netty.handler.codec.http.DefaultFullHttpRequestpublic FullBinaryHttpRequest setUri(java.lang.String uri)
setUri in interface io.netty.handler.codec.http.FullHttpRequestsetUri in interface io.netty.handler.codec.http.HttpRequestsetUri in interface BinaryHttpRequestsetUri in interface FullBinaryHttpRequestsetUri in class io.netty.handler.codec.http.DefaultFullHttpRequestpublic FullBinaryHttpRequest copy()
copy in interface io.netty.buffer.ByteBufHoldercopy in interface io.netty.handler.codec.http.FullHttpMessagecopy in interface io.netty.handler.codec.http.FullHttpRequestcopy in interface io.netty.handler.codec.http.HttpContentcopy in interface io.netty.handler.codec.http.LastHttpContentcopy in interface FullBinaryHttpRequestcopy in class io.netty.handler.codec.http.DefaultFullHttpRequestpublic FullBinaryHttpRequest duplicate()
duplicate in interface io.netty.buffer.ByteBufHolderduplicate in interface io.netty.handler.codec.http.FullHttpMessageduplicate in interface io.netty.handler.codec.http.FullHttpRequestduplicate in interface io.netty.handler.codec.http.HttpContentduplicate in interface io.netty.handler.codec.http.LastHttpContentduplicate in interface FullBinaryHttpRequestduplicate in class io.netty.handler.codec.http.DefaultFullHttpRequestpublic int hashCode()
hashCode in class io.netty.handler.codec.http.DefaultFullHttpRequestpublic boolean equals(java.lang.Object o)
equals in class io.netty.handler.codec.http.DefaultFullHttpRequestCopyright © 2023-2024 The Netty Project. All Rights Reserved.