|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.http.impl.nio.reactor.ChannelEntry
@Immutable public class ChannelEntry
SocketChannel entry maintained by the I/O reactor. If the channel
represents an outgoing client connection, this entry also contains the
original SessionRequestImpl used to request it.
| Constructor Summary | |
|---|---|
ChannelEntry(SocketChannel channel)
Creates new ChannelEntry. |
|
ChannelEntry(SocketChannel channel,
SessionRequestImpl sessionRequest)
Creates new ChannelEntry. |
|
| Method Summary | |
|---|---|
Object |
getAttachment()
Returns the original session request attachment, if available. |
SocketChannel |
getChannel()
Returns the channel. |
SessionRequestImpl |
getSessionRequest()
Returns the original session request, if available. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChannelEntry(SocketChannel channel,
SessionRequestImpl sessionRequest)
channel - the channelsessionRequest - original session request. Can be null
if the channel represents an incoming server-side connection.public ChannelEntry(SocketChannel channel)
channel - the channel.| Method Detail |
|---|
public SessionRequestImpl getSessionRequest()
null.
null otherwise.public Object getAttachment()
null otherwise.public SocketChannel getChannel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||