Java org.apache.http.nio.reactor IOSession fields, constructors, methods, implement or subclass

Example usage for Java org.apache.http.nio.reactor IOSession fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.http.nio.reactor IOSession.

The text is from its open source code.

Implementation

org.apache.http.nio.reactor.IOSession has the following implementations.
Click this link to see all its implementation.

Field

StringATTACHMENT_KEY
Name of the context attribute key, which can be used to obtain the session attachment object.

Method

ByteChannelchannel()
Returns the underlying I/O channel associated with this session.
voidclearEvent(int op)
Clears interest in a particular I/O event type by updating the event mask associated with the session.
voidclose()
Terminates the session gracefully and closes the underlying I/O channel.
ObjectgetAttribute(String name)
Returns the value of the attribute with the given name.
ClassgetClass()
Returns the runtime class of this Object .
SocketAddressgetLocalAddress()
Returns local address.
SocketAddressgetRemoteAddress()
Returns address of the remote peer.
booleanisClosed()
Determines if the session has been terminated.
voidsetAttribute(String name, Object obj)
This method can be used to associate a particular object with the session by the given attribute name.
voidsetEvent(int op)
Declares interest in a particular I/O event type by updating the event mask associated with the session.
voidsetEventMask(int ops)
Declares interest in I/O event notifications by setting the event mask associated with the session