r01f.httpclient
Class HttpURLStatement
java.lang.Object
r01f.httpclient.HttpURLStatement
public class HttpURLStatement
- extends java.lang.Object
|
Constructor Summary |
HttpURLStatement(java.lang.String newTargetUrl)
Constructur a partir de la url |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
targetURLStr
private java.lang.String targetURLStr
targetServerCharset
private java.nio.charset.Charset targetServerCharset
parameters
private java.util.List<HttpRequestParameter> parameters
HttpURLStatement
HttpURLStatement(java.lang.String newTargetUrl)
- Constructur a partir de la url
- Parameters:
newTargetUrl - url de destino
usingCharset
public HttpURLStatement usingCharset(java.nio.charset.Charset charset)
- Establece el charset utilizado en la comunicación con el servidor
- Parameters:
charset - el charset
withParameters
public HttpMethodStatement withParameters(java.util.List<HttpRequestParameter> params)
- Establece los parametros de la llamada
- Parameters:
params - parametros
withoutParameters
public HttpMethodStatement withoutParameters()
- La llamada HTTP NO tiene parametros