|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gargoylesoftware.htmlunit.MockWebConnection.RawResponseData
public static class MockWebConnection.RawResponseData
Contains the raw data configured for a response.
| Method Summary | |
|---|---|
byte[] |
getByteContent()
Gets the configured content bytes. |
String |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
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 String getCharset()
null for byte content
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||