public interface HttpChannel extends CloseableChannel
Method SummaryModifier and TypeMethodDescriptionReturns the local address for this channel.Returns the remote address for this channel.
voidSends an http response to the channel.
sendResponseSends an http response to the channel. The listener will be executed once the send process has been completed.
response- to send to channel
listener- to execute upon send completion
getLocalAddressInetSocketAddress getLocalAddress()Returns the local address for this channel.
- the local address of this channel.
getRemoteAddressInetSocketAddress getRemoteAddress()Returns the remote address for this channel. Can be null if channel does not have a remote address.
- the remote address of this channel.