Top Description Methods
org.eclipse.jetty.util

public Interface Attachable


Abstract mechanism to support attachment of miscellaneous objects.

Method Summary

Modifier and TypeMethod and Description
public Object
getAttachment()

Returns: the object attached to this instance

public void
setAttachment(Object
the object to attach to this instance
attachment
)

Attaches the given object to this stream for later retrieval.

Method Detail

getAttachmentback to summary
public Object getAttachment()
Returns:Object

the object attached to this instance

See Also
setAttachment(Object)
setAttachmentback to summary
public void setAttachment(Object attachment)

Attaches the given object to this stream for later retrieval.

Parameters
attachment:Object

the object to attach to this instance