ResponseReceivedEvent Class
- java.
lang. Object - BaseEvent
- com.
microsoft. azure. storage. ResponseReceivedEvent
- com.
public class ResponseReceivedEvent extends BaseEvent
Represents an event that is fired when a response is received.
Constructor Summary
Constructor | Description |
---|---|
ResponseReceivedEvent(OperationContext opContext, Object connectionObject, RequestResult requestResult) |
Creates an instance of the class that is fired when a response is received. |
Inherited Members
BaseEvent.BaseEvent(final OperationContext opContext, final Object connectionObject, final RequestResult requestResult)
BaseEvent.getConnectionObject()
BaseEvent.getOpContext()
BaseEvent.getRequestResult()
Constructor Details
ResponseReceivedEvent
public ResponseReceivedEvent(OperationContext opContext, Object connectionObject, RequestResult requestResult)
Creates an instance of the class that is fired when a response is received.
Parameters:
opContext
- An OperationContext object that represents the context for the current operation. This object is used to track requests to the storage service, and to provide additional runtime information about the operation.
connectionObject
- Represents a connection object. Currently only
java.net.HttpURLConnection
is supported as a connection object.
requestResult
- A RequestResult object that represents the current request result.