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

public Interface Attribute

extends HttpData
Known Direct Implementers
io.netty.handler.codec.http.multipart.DiskAttribute, io.netty.handler.codec.http.multipart.MemoryAttribute, io.netty.handler.codec.http.multipart.MixedAttribute
Imports
io.netty.buffer.ByteBuf, java.io.IOException

Attribute interface

Method Summary

Modifier and TypeMethod and Description
public Attribute
public Attribute
public String
getValue()

Returns the value of this HttpData.

public Attribute
replace(ByteBuf content)

Redeclares io.netty.handler.codec.http.multipart.HttpData.replace.

Returns a new ByteBufHolder which contains the specified content.
public Attribute
retain()

Redeclares io.netty.handler.codec.http.multipart.HttpData.retain.

Increases the reference count by 1.
public Attribute
retain(int increment)

Redeclares io.netty.handler.codec.http.multipart.HttpData.retain.

Increases the reference count by the specified increment.
public Attribute
public void
setValue(String value)

Sets the value of this HttpData.

public Attribute
touch()

Redeclares io.netty.handler.codec.http.multipart.HttpData.touch.

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

Redeclares io.netty.handler.codec.http.multipart.HttpData.touch.

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

Method Detail

copyback to summary
public Attribute copy()

Redeclares io.netty.handler.codec.http.multipart.HttpData.copy.

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

Creates a deep copy of this ByteBufHolder.

Annotations
@Override
duplicateback to summary
public Attribute duplicate()

Redeclares io.netty.handler.codec.http.multipart.HttpData.duplicate.

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

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

Annotations
@Override
getValueback to summary
public String getValue() throws IOException

Returns the value of this HttpData.

replaceback to summary
public Attribute replace(ByteBuf content)

Redeclares io.netty.handler.codec.http.multipart.HttpData.replace.

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

Returns a new ByteBufHolder which contains the specified content.

Annotations
@Override
retainback to summary
public Attribute retain()

Redeclares io.netty.handler.codec.http.multipart.HttpData.retain.

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

Increases the reference count by 1.

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

Redeclares io.netty.handler.codec.http.multipart.HttpData.retain.

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

Increases the reference count by the specified increment.

Annotations
@Override
retainedDuplicateback to summary
public Attribute retainedDuplicate()

Redeclares io.netty.handler.codec.http.multipart.HttpData.retainedDuplicate.

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

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

Annotations
@Override
setValueback to summary
public void setValue(String value) throws IOException

Sets the value of this HttpData.

touchback to summary
public Attribute touch()

Redeclares io.netty.handler.codec.http.multipart.HttpData.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 Attribute touch(Object hint)

Redeclares io.netty.handler.codec.http.multipart.HttpData.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