org.lastbamboo.common.http.client
Class BaseHttpClientRequester
java.lang.Object
org.lastbamboo.common.http.client.BaseHttpClientRequester
public class BaseHttpClientRequester
- extends Object
Issues an HTTP request using HTTP client.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseHttpClientRequester
public BaseHttpClientRequester()
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.