public class BaseResponse extends Object
Modifier | Constructor and Description |
---|---|
protected |
BaseResponse()
Private Default Ctor
|
Modifier and Type | Method and Description |
---|---|
static String |
getContentMD5(HttpURLConnection request)
Gets the ContentMD5
|
static String |
getDate(HttpURLConnection request)
Gets the Date
|
static String |
getEtag(HttpURLConnection request)
Gets the Etag
|
static HashMap<String,String> |
getMetadata(HttpURLConnection request)
Gets the metadata from the request The response from server.
|
static String |
getRequestId(HttpURLConnection request)
Gets the request id.
|
static boolean |
isServerRequestEncrypted(HttpURLConnection request)
Gets if the request was encrypted by the server.
|
public static String getContentMD5(HttpURLConnection request)
request
- The response from server.public static String getDate(HttpURLConnection request)
request
- The response from server.public static String getEtag(HttpURLConnection request)
request
- The response from server.public static HashMap<String,String> getMetadata(HttpURLConnection request)
public static String getRequestId(HttpURLConnection request)
request
- The response from server.public static boolean isServerRequestEncrypted(HttpURLConnection request)
request
- The response from the server.Copyright © 2019. All rights reserved.