public class OnapMrResponse extends Object
| Constructor and Description |
|---|
OnapMrResponse(int statusCode,
String msg)
Construct a base response
|
| Modifier and Type | Method and Description |
|---|---|
int |
getStatusCode()
Get the HTTP status code
|
String |
getStatusText()
Get the HTTP status text
|
boolean |
isSuccess()
Is this response successful?
|
public OnapMrResponse(int statusCode,
String msg)
statusCode - the HTTP status codemsg - the HTTP status messagepublic boolean isSuccess()
public int getStatusCode()
public String getStatusText()
Copyright © 2024 continual.io. All rights reserved.