public class RestResponse extends Object
| Constructor and Description |
|---|
RestResponse(com.squareup.okhttp.Response delegatingResponse) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBody() |
String |
getHeader(String header) |
String |
getLocationHeader() |
public RestResponse(com.squareup.okhttp.Response delegatingResponse)
public String getBody() throws IOException
IOExceptionpublic String getLocationHeader()
Copyright © 2015–2016 Red Hat. All rights reserved.