org.lastbamboo.common.http.client
Class BaseHttpClientRequester

java.lang.Object
  extended by org.lastbamboo.common.http.client.BaseHttpClientRequester

public class BaseHttpClientRequester
extends Object

Issues an HTTP request using HTTP client.


Constructor Summary
BaseHttpClientRequester()
           
 
Method Summary
 String get(String baseUrl, Collection<org.littleshoot.util.Pair<String,String>> parameters)
           
 String get(String baseUrl, Map<String,String> parameters)
           
 String post(String baseUrl, Collection<org.littleshoot.util.Pair<String,String>> parameters)
           
 String post(String baseUrl, Map<String,String> parameters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseHttpClientRequester

public BaseHttpClientRequester()
Method Detail

post

public String post(String baseUrl,
                   Collection<org.littleshoot.util.Pair<String,String>> parameters)
            throws IOException,
                   ServiceUnavailableException
Throws:
IOException
ServiceUnavailableException

post

public String post(String baseUrl,
                   Map<String,String> parameters)
            throws IOException,
                   ServiceUnavailableException
Throws:
IOException
ServiceUnavailableException

get

public String get(String baseUrl,
                  Collection<org.littleshoot.util.Pair<String,String>> parameters)
           throws IOException,
                  ServiceUnavailableException
Throws:
IOException
ServiceUnavailableException

get

public String get(String baseUrl,
                  Map<String,String> parameters)
           throws IOException,
                  ServiceUnavailableException
Throws:
IOException
ServiceUnavailableException


Copyright © 2013 LittleShoot. All Rights Reserved.