public class RequestInfo extends Object
| Constructor and Description | 
|---|
| RequestInfo(InetSocketAddress destinationAddress,
           WritableRequest request)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| InetSocketAddress | getDestinationAddress() | 
| long | getElapsedMsecs()Get the elapsed millseconds since the request started. | 
| long | getElapsedNanos()Get the elapsed nanoseconds since the request started. | 
| WritableRequest | getRequest() | 
| long | getStartedMsecs()Get the started msecs. | 
| io.netty.channel.ChannelFuture | getWriteFuture() | 
| void | setWriteFuture(io.netty.channel.ChannelFuture writeFuture) | 
| String | toString() | 
public RequestInfo(InetSocketAddress destinationAddress, WritableRequest request)
destinationAddress - Destination of the requestrequest - Request that is sentpublic InetSocketAddress getDestinationAddress()
public long getStartedMsecs()
public long getElapsedNanos()
public long getElapsedMsecs()
public WritableRequest getRequest()
public void setWriteFuture(io.netty.channel.ChannelFuture writeFuture)
public io.netty.channel.ChannelFuture getWriteFuture()
Copyright © 2011-2020 The Apache Software Foundation. All Rights Reserved.