public class HttpResponse extends Object
| Constructor and Description |
|---|
HttpResponse(Integer status,
String body)
The constructor HttpResponse initializes both the status code and the body.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBody()
The method getBody returns the HTTP response body.
|
Integer |
getStatus()
The method getStatus returns the HTTP response status code.
|
Copyright © 2018. All rights reserved.