public class Apache3Utils extends Object
Constructor and Description |
---|
Apache3Utils() |
Modifier and Type | Method and Description |
---|---|
static List<RIDCCookie> |
convert(org.apache.commons.httpclient.Cookie[] cookies)
Convert the Apache cookie implementation to generic RIDC Cookies
|
static org.apache.commons.httpclient.NameValuePair[] |
convert(List<NameValuePair> params)
Convert RIDC Name value pairs to Apache implementation
|
static List<RIDCHttpHeader> |
convertToRIDCHeaders(org.apache.commons.httpclient.Header[] apacheHeaders)
Convert Apache headers to RIDC headers
|
static org.apache.commons.httpclient.Credentials |
getCredentials(Credentials idcCredentials)
Convert the RIDC credentials to Apache Credentials
|
public static List<RIDCHttpHeader> convertToRIDCHeaders(org.apache.commons.httpclient.Header[] apacheHeaders)
apacheHeaders
- the apache headerspublic static org.apache.commons.httpclient.Credentials getCredentials(Credentials idcCredentials)
idcCredentials
- public static List<RIDCCookie> convert(org.apache.commons.httpclient.Cookie[] cookies)
cookies
- public static org.apache.commons.httpclient.NameValuePair[] convert(List<NameValuePair> params)
params
-