SendingRequestEvent Class
- java.
lang. Object - BaseEvent
- com.
microsoft. azure. storage. SendingRequestEvent
- com.
public class SendingRequestEvent extends BaseEvent
Represents an event that is fired when before sending a request. The connection object is not yet live.
Constructor Summary
Constructor | Description |
---|---|
SendingRequestEvent(OperationContext opContext, Object connectionObject, RequestResult requestResult) |
Creates an instance of the class that is fired when before sending a request. |
Inherited Members
BaseEvent.BaseEvent(final OperationContext opContext, final Object connectionObject, final RequestResult requestResult)
BaseEvent.getConnectionObject()
BaseEvent.getOpContext()
BaseEvent.getRequestResult()
Constructor Details
SendingRequestEvent
public SendingRequestEvent(OperationContext opContext, Object connectionObject, RequestResult requestResult)
Creates an instance of the class that is fired when before sending a request.
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.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.
Azure SDK for Java