| Package | Description |
|---|---|
| org.sakaiproject.entitybroker.util.http |
| Modifier and Type | Method and Description |
|---|---|
static HttpRESTUtils.Method |
HttpRESTUtils.makeMethodFromString(String method)
Turns a method string ("get") into a
HttpRESTUtils.Method enum object |
static HttpRESTUtils.Method |
HttpRESTUtils.Method.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HttpRESTUtils.Method[] |
HttpRESTUtils.Method.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| 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
|
static HttpResponse |
HttpRESTUtils.fireRequest(String URL,
HttpRESTUtils.Method method)
Fire off a request to a URL using the specified method,
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(String URL,
HttpRESTUtils.Method method,
Map<String,String> params)
Fire off a request to a URL using the specified method,
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(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,
include optional params, headers, 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(String URL,
HttpRESTUtils.Method method,
Map<String,String> params,
Object data,
boolean guaranteeSSL)
Fire off a request to a URL using the specified method,
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 © 2003–2020 Sakai Project. All rights reserved.