Example usage for Java org.apache.http.nio.reactor IOSession fields, constructors, methods, implement or subclass
The text is from its open source code.
String | ATTACHMENT_KEY Name of the context attribute key, which can be used to obtain the session attachment object. |
ByteChannel | channel() Returns the underlying I/O channel associated with this session. |
void | clearEvent(int op) Clears interest in a particular I/O event type by updating the event mask associated with the session. |
void | close() Terminates the session gracefully and closes the underlying I/O channel. |
Object | getAttribute(String name) Returns the value of the attribute with the given name. |
Class> | getClass() Returns the runtime class of this Object . |
SocketAddress | getLocalAddress() Returns local address. |
SocketAddress | getRemoteAddress() Returns address of the remote peer. |
boolean | isClosed() Determines if the session has been terminated. |
void | setAttribute(String name, Object obj) This method can be used to associate a particular object with the session by the given attribute name. |
void | setEvent(int op) Declares interest in a particular I/O event type by updating the event mask associated with the session. |
void | setEventMask(int ops) Declares interest in I/O event notifications by setting the event mask associated with the session |