|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectplay.libs.WS.WSWithEncoding
public static class WS.WSWithEncoding
Internal class exposing all the methods previously exposed by WS. This impl has information about encoding. When calling original static methos on WS, then a singleton of WSWithEncoding is called - configured with default encoding. This makes this encoding-enabling backward compatible
| 字段摘要 | |
|---|---|
java.lang.String |
encoding
|
| 构造方法摘要 | |
|---|---|
WS.WSWithEncoding(java.lang.String encoding)
|
|
| 方法摘要 | |
|---|---|
java.lang.String |
encode(java.lang.String part)
URL-encode a string to be used as a query string parameter. |
WS.WSRequest |
url(java.lang.String url)
Build a WebService Request with the given URL. |
WS.WSRequest |
url(java.lang.String url,
java.lang.String... params)
Build a WebService Request with the given URL. |
WS.WSWithEncoding |
withEncoding(java.lang.String newEncoding)
Use thos method to get an instance to WS with diferent encoding |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 字段详细信息 |
|---|
public final java.lang.String encoding
| 构造方法详细信息 |
|---|
public WS.WSWithEncoding(java.lang.String encoding)
| 方法详细信息 |
|---|
public WS.WSWithEncoding withEncoding(java.lang.String newEncoding)
newEncoding - the encoding to use in the communication
public java.lang.String encode(java.lang.String part)
part - string to encode
public WS.WSRequest url(java.lang.String url)
url - of the request
public WS.WSRequest url(java.lang.String url,
java.lang.String... params)
url - to format using the given params.params - the params passed to format the URL.
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||