Top Description Methods
io.netty.handler.codec.http

public Interface FullHttpRequest

extends HttpRequest, FullHttpMessage
Known Direct Implementers
io.netty.handler.codec.http.multipart.HttpPostRequestEncoder.WrappedFullHttpRequest, io.netty.handler.codec.http.DefaultFullHttpRequest, io.netty.handler.codec.http.HttpObjectAggregator.AggregatedFullHttpRequest
Imports
io.netty.buffer.ByteBuf

Combine the HttpRequest and FullHttpMessage, so the request is a complete HTTP request.

Method Summary

Modifier and TypeMethod and Description
public FullHttpRequest
copy()

Redeclares io.netty.handler.codec.http.FullHttpMessage.copy.

Creates a deep copy of this ByteBufHolder.
public FullHttpRequest
public FullHttpRequest
replace(ByteBuf content)

Redeclares io.netty.handler.codec.http.FullHttpMessage.replace.

Returns a new ByteBufHolder which contains the specified content.
public FullHttpRequest
retain(int increment)

Redeclares io.netty.handler.codec.http.FullHttpMessage.retain.

Increases the reference count by the specified increment.
public FullHttpRequest
retain()

Redeclares io.netty.handler.codec.http.FullHttpMessage.retain.

Increases the reference count by 1.
public FullHttpRequest
public FullHttpRequest
public FullHttpRequest
public FullHttpRequest
setUri(String uri)

Redeclares io.netty.handler.codec.http.HttpRequest.setUri.

Set the requested URI (or alternatively, path)
public FullHttpRequest
touch()

Redeclares io.netty.handler.codec.http.FullHttpMessage.touch.

Records the current access location of this object for debugging purposes.
public FullHttpRequest
touch(Object hint)

Redeclares io.netty.handler.codec.http.FullHttpMessage.touch.

Records the current access location of this object with an additional arbitrary information for debugging purposes.
Inherited from io.netty.handler.codec.http.HttpRequest:
getMethodgetUrimethoduri

Method Detail

copyback to summary
public FullHttpRequest copy()

Redeclares io.netty.handler.codec.http.FullHttpMessage.copy.

Doc from io.netty.buffer.ByteBufHolder.copy.

Creates a deep copy of this ByteBufHolder.

Annotations
@Override
duplicateback to summary
public FullHttpRequest duplicate()

Redeclares io.netty.handler.codec.http.FullHttpMessage.duplicate.

Doc from io.netty.buffer.ByteBufHolder.duplicate.

Duplicates this ByteBufHolder. Be aware that this will not automatically call retain().

Annotations
@Override
replaceback to summary
public FullHttpRequest replace(ByteBuf content)

Redeclares io.netty.handler.codec.http.FullHttpMessage.replace.

Doc from io.netty.buffer.ByteBufHolder.replace.

Returns a new ByteBufHolder which contains the specified content.

Annotations
@Override
retainback to summary
public FullHttpRequest retain(int increment)

Redeclares io.netty.handler.codec.http.FullHttpMessage.retain.

Doc from io.netty.util.ReferenceCounted.retain.

Increases the reference count by the specified increment.

Annotations
@Override
retainback to summary
public FullHttpRequest retain()

Redeclares io.netty.handler.codec.http.FullHttpMessage.retain.

Doc from io.netty.util.ReferenceCounted.retain.

Increases the reference count by 1.

Annotations
@Override
retainedDuplicateback to summary
public FullHttpRequest retainedDuplicate()

Redeclares io.netty.handler.codec.http.FullHttpMessage.retainedDuplicate.

Doc from io.netty.buffer.ByteBufHolder.retainedDuplicate.

Duplicates this ByteBufHolder. This method returns a retained duplicate unlike duplicate().

Annotations
@Override
setMethodback to summary
public FullHttpRequest setMethod(HttpMethod method)

Redeclares io.netty.handler.codec.http.HttpRequest.setMethod.

Doc from io.netty.handler.codec.http.HttpRequest.setMethod.

Set the HttpMethod of this HttpRequest.

Annotations
@Override
setProtocolVersionback to summary
public FullHttpRequest setProtocolVersion(HttpVersion version)

Redeclares io.netty.handler.codec.http.HttpRequest.setProtocolVersion, io.netty.handler.codec.http.HttpMessage.setProtocolVersion.

Doc from io.netty.handler.codec.http.HttpMessage.setProtocolVersion.

Set the protocol version of this HttpMessage

Annotations
@Override
setUriback to summary
public FullHttpRequest setUri(String uri)

Redeclares io.netty.handler.codec.http.HttpRequest.setUri.

Doc from io.netty.handler.codec.http.HttpRequest.setUri.

Set the requested URI (or alternatively, path)

Annotations
@Override
touchback to summary
public FullHttpRequest touch()

Redeclares io.netty.handler.codec.http.FullHttpMessage.touch.

Doc from io.netty.util.ReferenceCounted.touch.

Records the current access location of this object for debugging purposes. If this object is determined to be leaked, the information recorded by this operation will be provided to you via ResourceLeakDetector. This method is a shortcut to touch(null).

Annotations
@Override
touchback to summary
public FullHttpRequest touch(Object hint)

Redeclares io.netty.handler.codec.http.FullHttpMessage.touch.

Doc from io.netty.util.ReferenceCounted.touch.

Records the current access location of this object with an additional arbitrary information for debugging purposes. If this object is determined to be leaked, the information recorded by this operation will be provided to you via ResourceLeakDetector.

Annotations
@Override