ErrorReceivingResponseEvent Class
- java.
lang. Object - BaseEvent
- com.
microsoft. azure. storage. ErrorReceivingResponseEvent
- com.
public class ErrorReceivingResponseEvent extends BaseEvent
Represents an event that is fired when a network error occurs before the HTTP response status and headers are received.
Constructor Summary
Constructor | Description |
---|---|
ErrorReceivingResponseEvent(OperationContext opContext, Object connectionObject, RequestResult requestResult) |
Creates an instance of the class that is fired when a network error occurs before the HTTP response status and headers are received. |
Inherited Members
BaseEvent.BaseEvent(final OperationContext opContext, final Object connectionObject, final RequestResult requestResult)
BaseEvent.getConnectionObject()
BaseEvent.getOpContext()
BaseEvent.getRequestResult()
Constructor Details
ErrorReceivingResponseEvent
public ErrorReceivingResponseEvent(OperationContext opContext, Object connectionObject, RequestResult requestResult)
Creates an instance of the class that is fired when a network error occurs before the HTTP response status and headers are 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.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java