| Package | Description |
|---|---|
| org.sakaiproject.entitybroker.util.http |
| Modifier and Type | Method and Description |
|---|---|
static HttpClientWrapper |
HttpRESTUtils.makeReusableHttpClient(boolean multiThreaded,
int idleConnectionTimeout,
javax.servlet.http.Cookie[] cookies)
Generates a reusable http client wrapper which can be given to
HttpRESTUtils.fireRequest(HttpClientWrapper, String, Method, Map, Object, boolean)
as an efficiency mechanism |
| Modifier and Type | Method and Description |
|---|---|
static HttpResponse |
HttpRESTUtils.fireRequest(HttpClientWrapper httpClientWrapper,
String URL,
HttpRESTUtils.Method method,
Map<String,String> params,
Map<String,String> headers,
Object data,
boolean guaranteeSSL)
Fire off a request to a URL using the specified method but reuse the client for efficiency,
include optional params and data in the request,
the response data will be returned in the object if the request can be carried out
|
static HttpResponse |
HttpRESTUtils.fireRequest(HttpClientWrapper httpClientWrapper,
String URL,
HttpRESTUtils.Method method,
Map<String,String> params,
Object data,
boolean guaranteeSSL)
Fire off a request to a URL using the specified method but reuse the client for efficiency,
include optional params and data in the request,
the response data will be returned in the object if the request can be carried out
|
Copyright © 2007–2018 CARET, University of Cambridge. All rights reserved.