public final class ResponseStatus extends Object
Constructor and Description |
---|
ResponseStatus(ResponseStatusCode code,
String message,
Map<String,Object> attributes) |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getAttributes()
Gets the meta-data related to the response.
|
ResponseStatusCode |
getCode()
Gets the
ResponseStatusCode that describes how the server responded to the request. |
String |
getMessage()
Gets the message associated with the code.
|
String |
toString() |
public ResponseStatus(ResponseStatusCode code, String message, Map<String,Object> attributes)
public ResponseStatusCode getCode()
ResponseStatusCode
that describes how the server responded to the request.public String getMessage()
public Map<String,Object> getAttributes()
Copyright © 2013–2016 Apache Software Foundation. All rights reserved.