|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectplay.libs.WS.HttpResponse
play.libs.ws.WSAsync.HttpAsyncResponse
public static class WSAsync.HttpAsyncResponse
An HTTP response wrapper
| 构造方法摘要 | |
|---|---|
WSAsync.HttpAsyncResponse(com.ning.http.client.Response response)
you shouldnt have to create an HttpResponse yourself |
|
| 方法摘要 | |
|---|---|
java.lang.String |
getHeader(java.lang.String key)
|
java.util.List<Http.Header> |
getHeaders()
|
java.lang.Integer |
getStatus()
the HTTP status code |
java.lang.String |
getStatusText()
the HTTP status text |
java.io.InputStream |
getStream()
get the response as a stream |
| 从类 play.libs.WS.HttpResponse 继承的方法 |
|---|
getContentType, getEncoding, getJson, getQueryString, getString, getString, getXml, getXml, success |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public WSAsync.HttpAsyncResponse(com.ning.http.client.Response response)
response - | 方法详细信息 |
|---|
public java.lang.Integer getStatus()
WS.HttpResponse 中的 getStatuspublic java.lang.String getStatusText()
WS.HttpResponse 中的 getStatusTextpublic java.lang.String getHeader(java.lang.String key)
WS.HttpResponse 中的 getHeaderpublic java.util.List<Http.Header> getHeaders()
WS.HttpResponse 中的 getHeaderspublic java.io.InputStream getStream()
WS.HttpResponse 中的 getStream
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||