|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface HttpClientRequester
Interface for utility classes for issuing HTTP client requests.
| Method Summary | |
|---|---|
String |
request(String url)
Issue a request with no parameters. |
String |
request(String baseUrl,
Collection<org.littleshoot.util.Pair<String,String>> parameters)
Writes a request to the specified address. |
String |
request(String baseUrl,
Map<String,String> parameters)
Writes a request to the specified address. |
String |
request(URL url)
Issue a request with no parameters. |
| Method Detail |
|---|
String request(String baseUrl,
Collection<org.littleshoot.util.Pair<String,String>> parameters)
throws IOException,
ServiceUnavailableException
baseUrl - The base URL to send the request to.parameters - The request parameters.
IOException - If an IO error occurs.
ServiceUnavailableException - If the service is unavailable.
String request(String baseUrl,
Map<String,String> parameters)
throws IOException,
ServiceUnavailableException
baseUrl - The base URL to send the request to.parameters - The request parameters.
IOException - If an IO error occurs.
ServiceUnavailableException - If the service is unavailable.
String request(String url)
throws IOException,
ServiceUnavailableException
url - The URL to issue the request to.
IOException - If an IO error occurs.
ServiceUnavailableException - If the service is unavailable.
String request(URL url)
throws IOException,
ServiceUnavailableException
url - The URL to issue the request to.
IOException - If any IO error occurs.
ServiceUnavailableException - If the service is unavailable.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||