public class OctaneHttpResponse extends Object
Created by leufl on 2/11/2016.
| Constructor and Description |
|---|
OctaneHttpResponse(int statusCode,
InputStream inputStream,
Charset responseCharset) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContent()
Parses the content of the HTTP response from getContent() and reads it into a string.
|
InputStream |
getInputStream()
Returns the content of the HTTP response.
|
boolean |
isSuccessStatusCode() |
public OctaneHttpResponse(int statusCode,
InputStream inputStream,
Charset responseCharset)
public boolean isSuccessStatusCode()
public String getContent()
public InputStream getInputStream()
Copyright © 2021 Micro Focus. All rights reserved.