|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.pdx.cs399J.web.HttpRequestHelper.Response
public static class HttpRequestHelper.Response
Encapsulates a response to an HTTP request
| Method Summary | |
|---|---|
int |
getCode()
Returns the HTTP status code of the response |
String |
getContent()
Returns the (presumably textual) response from the URL |
int |
getContentLines()
Returns the number of lines in the response's content |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public int getCode()
HttpURLConnection.getResponseCode()public String getContent()
public int getContentLines()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||