|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Objectplay.libs.WS.HttpResponse
play.libs.ws.WSUrlFetch.HttpUrlfetchResponse
public static class WSUrlFetch.HttpUrlfetchResponse
An HTTP response wrapper
构造方法摘要 | |
---|---|
WSUrlFetch.HttpUrlfetchResponse(java.net.HttpURLConnection connection)
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 |
java.lang.String |
getString()
get the response body as a string |
从类 play.libs.WS.HttpResponse 继承的方法 |
---|
getContentType, getEncoding, getJson, getQueryString, getString, getXml, getXml, success |
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
构造方法详细信息 |
---|
public WSUrlFetch.HttpUrlfetchResponse(java.net.HttpURLConnection connection)
method
- 方法详细信息 |
---|
public java.lang.Integer getStatus()
WS.HttpResponse
中的 getStatus
public java.lang.String getStatusText()
WS.HttpResponse
中的 getStatusText
public java.lang.String getHeader(java.lang.String key)
WS.HttpResponse
中的 getHeader
public java.util.List<Http.Header> getHeaders()
WS.HttpResponse
中的 getHeaders
public java.lang.String getString()
WS.HttpResponse
中的 getString
public java.io.InputStream getStream()
WS.HttpResponse
中的 getStream
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |