Package com.github.ambry.network
Interface NetworkResponse
-
public interface NetworkResponse
Simple response
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Send
getPayload()
Provides the send object that can be sent over the networkNetworkRequest
getRequest()
The original request object that this response maps to
-
-
-
Method Detail
-
getPayload
Send getPayload()
Provides the send object that can be sent over the network- Returns:
- The send object that is part of this response
-
getRequest
NetworkRequest getRequest()
The original request object that this response maps to- Returns:
- The request object that maps to this response
-
-