| Package | Description |
|---|---|
| net.obvj.jep.functions | |
| net.obvj.jep.http |
| Modifier and Type | Method and Description |
|---|---|
Object |
HttpResponseHandler.Strategy.execute(WebServiceResponse webServiceResponse) |
| Modifier and Type | Method and Description |
|---|---|
static WebServiceResponse |
WebServiceResponse.fromClientResponse(com.sun.jersey.api.client.ClientResponse response)
Creates a new
WebServiceResponse from a ClientResponse. |
static WebServiceResponse |
WebServiceUtils.get(String url)
Executes HTTP GET on a given URL.
|
static WebServiceResponse |
WebServiceUtils.get(String url,
Map<String,String> headers)
Executes HTTP GET on a given URL, with custom headers
|
static WebServiceResponse |
WebServiceUtils.invoke(String method,
String url,
Object requestEntity)
Executes the requested HTTP method on a given URL.
|
static WebServiceResponse |
WebServiceUtils.invoke(String method,
String url,
Object requestEntity,
Map<String,String> headers)
Executes the requested HTTP method on a given URL, with custom headers.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
WebServiceUtils.getResponseAsString(WebServiceResponse webServiceResponse)
Returns the HTTP response body, as string, given an HTTP client response.
|
static int |
WebServiceUtils.getStatusCode(WebServiceResponse webServiceResponse)
Returns the HTTP status code, given an HTTP response.
|
Copyright © 2020. All rights reserved.