public static class MockWebConnection.RawResponseData extends Object
Modifier and Type | Method and Description |
---|---|
byte[] |
getByteContent()
Gets the configured content bytes.
|
Charset |
getCharset()
Gets the configured charset.
|
List<NameValuePair> |
getHeaders()
Gets the configured headers.
|
int |
getStatusCode()
Gets the configured status code.
|
String |
getStatusMessage()
Gets the configured status message.
|
String |
getStringContent()
Gets the configured content String.
|
public List<NameValuePair> getHeaders()
public byte[] getByteContent()
null
if a String content has been configuredpublic String getStringContent()
null
if a byte content has been configuredpublic int getStatusCode()
public String getStatusMessage()
public Charset getCharset()
null
for byte contentCopyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.