com.netease.cloud.services.nos
public class NosResponseMetadata extends ResponseMetadata
ResponseMetadata
with nos specific data. In
addition to the standard request ID contained in all services' response
metadata, nos also includes a host ID that can be provided to
support when debugging an issue with NOS.Modifier and Type | Field and Description |
---|---|
static String |
HOST_ID |
metadata, REQUEST_ID
Constructor and Description |
---|
NosResponseMetadata(Map<String,String> metadata)
Creates a new ResponseMetadata object from a specified map of metadata
information.
|
NosResponseMetadata(ResponseMetadata originalResponseMetadata)
Creates a new ResponseMetadata object from an existing ResponseMetadata
object.
|
Modifier and Type | Method and Description |
---|---|
String |
getHostId()
Returns the host ID, providing additional debugging information
about how a request was handled.
|
getRequestId, toString
public static final String HOST_ID
public NosResponseMetadata(Map<String,String> metadata)
metadata
- The raw metadata for the new ResponseMetadata object.public NosResponseMetadata(ResponseMetadata originalResponseMetadata)
originalResponseMetadata
- The ResponseMetadata object from which to create the new
object.public String getHostId()
Copyright © 2017. All Rights Reserved.