public static class WS.WSWithEncoding
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
encoding |
Constructor and Description |
---|
WSWithEncoding(java.lang.String encoding) |
Modifier and Type | Method and Description |
---|---|
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 this method to get an instance to WS with different encoding
|
public WS.WSWithEncoding withEncoding(java.lang.String newEncoding)
newEncoding
- the encoding to use in the communicationpublic java.lang.String encode(java.lang.String part)
part
- string to encodepublic WS.WSRequest url(java.lang.String url)
url
- of the requestpublic 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.Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly