public class WriteRequestWrapper extends Object implements WriteRequest
WriteRequest
.Constructor and Description |
---|
WriteRequestWrapper(WriteRequest parentRequest)
Creates a new instance that wraps the specified request.
|
Modifier and Type | Method and Description |
---|---|
SocketAddress |
getDestination()
Returns the destination of this write request.
|
WriteFuture |
getFuture() |
Object |
getMessage() |
WriteRequest |
getOriginalRequest() |
WriteRequest |
getParentRequest() |
boolean |
isEncoded()
Tells if the current message has been encoded
|
String |
toString() |
public WriteRequestWrapper(WriteRequest parentRequest)
parentRequest
- The parent's requestpublic SocketAddress getDestination()
getDestination
in interface WriteRequest
public WriteFuture getFuture()
getFuture
in interface WriteRequest
WriteFuture
that is associated with this write request.public Object getMessage()
getMessage
in interface WriteRequest
public WriteRequest getOriginalRequest()
getOriginalRequest
in interface WriteRequest
WriteRequest
which was requested originally,
which is not transformed by any IoFilter
.public WriteRequest getParentRequest()
public boolean isEncoded()
isEncoded
in interface WriteRequest
Copyright © 2004–2016 Apache MINA Project. All rights reserved.