Top Description Fields Constructors Methods
io.vertx.core.http.impl

pack-priv Class AssembledFullHttpRequest

extends AssembledHttpRequest
implements FullHttpRequest
Class Inheritance
All Implemented Interfaces
io.netty.handler.codec.http.FullHttpRequest, io.netty.handler.codec.http.FullHttpMessage, io.netty.handler.codec.http.LastHttpContent, io.netty.handler.codec.http.HttpContent, io.netty.buffer.ByteBufHolder, io.netty.util.ReferenceCounted, io.netty.handler.codec.http.HttpObject, io.netty.handler.codec.DecoderResultProvider, io.netty.handler.codec.http.HttpMessage, io.netty.handler.codec.http.HttpRequest
Imports
io.netty.buffer.ByteBuf, io.netty.handler.codec.http.DefaultLastHttpContent, .FullHttpRequest, .HttpContent, .HttpHeaders, .HttpMethod, .HttpRequest, .HttpVersion, .LastHttpContent

Helper wrapper class which allows to assemble a LastHttpContent and a HttpRequest into one "packet" and so more efficient write it through the pipeline.
Author
Norman Maurer

Field Summary

Inherited from io.vertx.core.http.impl.AssembledHttpRequest:
content

Constructor Summary

AccessConstructor and Description
public
public
public

Method Summary

Modifier and TypeMethod and Description
public AssembledFullHttpRequest
public AssembledFullHttpRequest
public AssembledFullHttpRequest
public AssembledFullHttpRequest
public AssembledFullHttpRequest
public AssembledFullHttpRequest
public AssembledFullHttpRequest
public AssembledFullHttpRequest
public AssembledFullHttpRequest
private static LastHttpContent
public AssembledFullHttpRequest
touch(Object hint)

Overrides io.vertx.core.http.impl.AssembledHttpRequest.touch.

Implements io.netty.handler.codec.http.FullHttpRequest.touch, io.netty.handler.codec.http.HttpContent.touch.

Records the current access location of this object with an additional arbitrary information for debugging purposes.

public AssembledFullHttpRequest
touch()

Overrides io.vertx.core.http.impl.AssembledHttpRequest.touch.

Implements io.netty.handler.codec.http.FullHttpRequest.touch, io.netty.handler.codec.http.HttpContent.touch.

Records the current access location of this object for debugging purposes.

public HttpHeaders
Inherited from io.vertx.core.http.impl.AssembledHttpRequest:
contentdecoderResultgetDecoderResultgetMethodgetProtocolVersiongetUriheadersmethodprotocolVersionrefCntreleasereleasesetDecoderResulturi

Constructor Detail

AssembledFullHttpRequestback to summary
public AssembledFullHttpRequest(HttpRequest request, LastHttpContent content)
AssembledFullHttpRequestback to summary
public AssembledFullHttpRequest(HttpRequest request)
AssembledFullHttpRequestback to summary
public AssembledFullHttpRequest(HttpRequest request, ByteBuf buf)

Method Detail

copyback to summary
public AssembledFullHttpRequest copy()

Overrides io.vertx.core.http.impl.AssembledHttpRequest.copy.

Implements io.netty.handler.codec.http.FullHttpRequest.copy, io.netty.handler.codec.http.HttpContent.copy.

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

Creates a deep copy of this ByteBufHolder.

Annotations
@Override
duplicateback to summary
public AssembledFullHttpRequest duplicate()

Overrides io.vertx.core.http.impl.AssembledHttpRequest.duplicate.

Implements io.netty.handler.codec.http.FullHttpRequest.duplicate, io.netty.handler.codec.http.HttpContent.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 AssembledFullHttpRequest replace(ByteBuf content)

Overrides io.vertx.core.http.impl.AssembledHttpRequest.replace.

Implements io.netty.handler.codec.http.FullHttpRequest.replace, io.netty.handler.codec.http.HttpContent.replace.

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

Returns a new ByteBufHolder which contains the specified content.

Annotations
@Override
retainback to summary
public AssembledFullHttpRequest retain()

Overrides io.vertx.core.http.impl.AssembledHttpRequest.retain.

Implements io.netty.handler.codec.http.FullHttpRequest.retain, io.netty.handler.codec.http.HttpContent.retain.

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

Increases the reference count by 1.

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

Overrides io.vertx.core.http.impl.AssembledHttpRequest.retain.

Implements io.netty.handler.codec.http.FullHttpRequest.retain, io.netty.handler.codec.http.HttpContent.retain.

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

Increases the reference count by the specified increment.

Annotations
@Override
retainedDuplicateback to summary
public AssembledFullHttpRequest retainedDuplicate()

Overrides io.vertx.core.http.impl.AssembledHttpRequest.retainedDuplicate.

Implements io.netty.handler.codec.http.FullHttpRequest.retainedDuplicate, io.netty.handler.codec.http.HttpContent.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 AssembledFullHttpRequest setMethod(HttpMethod method)

Overrides io.vertx.core.http.impl.AssembledHttpRequest.setMethod.

Implements io.netty.handler.codec.http.FullHttpRequest.setMethod, 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 AssembledFullHttpRequest setProtocolVersion(HttpVersion version)

Overrides io.vertx.core.http.impl.AssembledHttpRequest.setProtocolVersion.

Implements io.netty.handler.codec.http.FullHttpRequest.setProtocolVersion, io.netty.handler.codec.http.HttpRequest.setProtocolVersion.

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

Set the protocol version of this HttpMessage

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

Overrides io.vertx.core.http.impl.AssembledHttpRequest.setUri.

Implements io.netty.handler.codec.http.FullHttpRequest.setUri, 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
toLastContentback to summary
private static LastHttpContent toLastContent(ByteBuf buf)
touchback to summary
public AssembledFullHttpRequest touch(Object hint)

Overrides io.vertx.core.http.impl.AssembledHttpRequest.touch.

Implements io.netty.handler.codec.http.FullHttpRequest.touch, io.netty.handler.codec.http.HttpContent.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
touchback to summary
public AssembledFullHttpRequest touch()

Overrides io.vertx.core.http.impl.AssembledHttpRequest.touch.

Implements io.netty.handler.codec.http.FullHttpRequest.touch, io.netty.handler.codec.http.HttpContent.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
trailingHeadersback to summary
public HttpHeaders trailingHeaders()

Implements io.netty.handler.codec.http.LastHttpContent.trailingHeaders.

Annotations
@Override