public final class RequestCompletedEvent extends BaseEvent
Constructor and Description |
---|
RequestCompletedEvent(OperationContext opContext,
Object connectionObject,
RequestResult requestResult)
Creates an instance of the
BaseEvent class that is fired when a request is completed. |
getConnectionObject, getOpContext, getRequestResult
public RequestCompletedEvent(OperationContext opContext, Object connectionObject, RequestResult requestResult)
BaseEvent
class that is fired when a request is completed.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.Copyright © 2018. All Rights Reserved.