|
GWT 2.6.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.gwt.http.client.Response
com.google.gwt.http.client.ResponseImpl
class ResponseImpl
A Response implementation based on a XMLHttpRequest.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
ResponseImpl(XMLHttpRequest xmlHttpRequest)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getHeader(java.lang.String header)
Returns the value of the requested header or null if the header was not specified. |
Header[] |
getHeaders()
Returns an array of HTTP headers associated with this response. |
java.lang.String |
getHeadersAsString()
Returns all headers as a single string. |
int |
getStatusCode()
Returns the HTTP status code that is part of this response. |
java.lang.String |
getStatusText()
Returns the HTTP status message text. |
java.lang.String |
getText()
Returns the text associated with the response. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResponseImpl(XMLHttpRequest xmlHttpRequest)
| Method Detail |
|---|
public java.lang.String getHeader(java.lang.String header)
Response
getHeader in class Responseheader - the header to query for
public Header[] getHeaders()
Response
getHeaders in class Responsepublic java.lang.String getHeadersAsString()
Response
getHeadersAsString in class Responsepublic int getStatusCode()
Response
getStatusCode in class Responsepublic java.lang.String getStatusText()
Response
getStatusText in class Responsepublic java.lang.String getText()
Response
getText in class Response
|
GWT 2.6.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||