public class ResponseError<T> extends Object
Constructor and Description |
---|
ResponseError()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getError()
Returns the HTTP error message.
|
T |
getReason()
Returns the HTTP reason.
|
void |
setError(String error)
Sets the HTTP error message.
|
void |
setReason(T reason)
Sets the HTTP reason.
|
public String getError()
public void setError(String error)
error
- The HTTP error messagepublic T getReason()
public void setReason(T reason)
reason
- The HTTP reasonCopyright © 2018. All rights reserved.