public class WriteRequestWrapper extends java.lang.Object implements WriteRequest
WriteRequest
.构造器和说明 |
---|
WriteRequestWrapper(WriteRequest parentRequest)
Creates a new instance that wraps the specified request.
|
限定符和类型 | 方法和说明 |
---|---|
java.net.SocketAddress |
getDestination()
Returns the destination of this write request.
|
WriteFuture |
getFuture() |
java.lang.Object |
getMessage() |
WriteRequest |
getOriginalRequest() |
WriteRequest |
getParentRequest() |
boolean |
isEncoded()
Tells if the current message has been encoded
|
java.lang.String |
toString() |
public WriteRequestWrapper(WriteRequest parentRequest)
parentRequest
- The parent's requestpublic java.net.SocketAddress getDestination()
getDestination
在接口中 WriteRequest
public WriteFuture getFuture()
getFuture
在接口中 WriteRequest
WriteFuture
that is associated with this write request.public java.lang.Object getMessage()
getMessage
在接口中 WriteRequest
public WriteRequest getOriginalRequest()
getOriginalRequest
在接口中 WriteRequest
WriteRequest
which was requested originally,
which is not transformed by any IoFilter
.public WriteRequest getParentRequest()
public java.lang.String toString()
toString
在类中 java.lang.Object
public boolean isEncoded()
isEncoded
在接口中 WriteRequest