r01f.httpclient
Class HttpURLStatement

java.lang.Object
  extended by r01f.httpclient.HttpURLStatement

public class HttpURLStatement
extends java.lang.Object


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

Field Detail

targetURLStr

private java.lang.String targetURLStr

targetServerCharset

private java.nio.charset.Charset targetServerCharset

parameters

private java.util.List<HttpRequestParameter> parameters
Constructor Detail

HttpURLStatement

HttpURLStatement(java.lang.String newTargetUrl)
Constructur a partir de la url

Parameters:
newTargetUrl - url de destino
Method Detail

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