public class OperationResponse extends Object
Modifier and Type | Field and Description |
---|---|
Exception |
ex
exceptions encountered when processing the request or response
|
String |
exceptionHistory
Comma-separated list of exceptions encountered but not thrown by this call.
|
int |
httpResponseCode
the HTTP response code from the call
|
String |
httpResponseMessage
the message that came with the HTTP response
|
long |
lastCallLatency
the latency of the last try, in milliseconds
|
String |
message
error message, used for errors that originate within the SDK
|
int |
numRetries
the number of retries attempted before returning from the call
|
String |
opCode
The WebHDFS opCode of the remote operation
|
String |
remoteExceptionJavaClassName
the exception's Java Class Name as reported by the server, if the call failed on server
This is there for WebHDFS compatibility.
|
String |
remoteExceptionMessage
the exception message as reported by the server, if the call failed on server
|
String |
remoteExceptionName
the exception name as reported by the server, if the call failed on server
|
String |
requestId
the server request ID.
|
boolean |
responseChunked
indicates whether HTTP body used chunked for
Transfer-Encoding of the response |
long |
responseContentLength
Content-Length of the returned HTTP body (if return was not chunked).
|
InputStream |
responseStream
for methods that return data from server, this field contains the
ADLFileInputStream . |
boolean |
successful
whether the request was successful.
|
long |
tokenAcquisitionLatency
time taken to get the token for this request, in nanoseconds.
|
Constructor and Description |
---|
OperationResponse() |
public boolean successful
public String opCode
public int httpResponseCode
public String httpResponseMessage
public InputStream responseStream
ADLFileInputStream
. null
for methods that
return no data in the HTTP body.public String requestId
public int numRetries
public long lastCallLatency
public long tokenAcquisitionLatency
public long responseContentLength
responseChunked
values to determine whether any data was returned by server.public boolean responseChunked
Transfer-Encoding
of the responsepublic String remoteExceptionName
public String remoteExceptionMessage
public String remoteExceptionJavaClassName
public Exception ex
public String message
public String exceptionHistory
Copyright © 2019 Microsoft Corporation. All rights reserved.