public class Apache4Utils extends Object
Constructor and Description |
---|
Apache4Utils() |
Modifier and Type | Method and Description |
---|---|
static List<RIDCCookie> |
convert(List<org.apache.http.cookie.Cookie> aCookies)
Convert Apache cookies to generic RIDC cookies
|
static org.apache.http.auth.Credentials |
convertCredentials(Credentials idcCredentials)
Converts the credentials between RIDC and Apache implementations
|
static List<? extends org.apache.http.NameValuePair> |
convertNVPair(List<NameValuePair> nvpairList)
Convert RIDC name value pairs to Apache name value pairs
|
static List<RIDCHttpHeader> |
convertToRIDCHeaders(org.apache.http.Header[] allHeaders)
Convert Apache headers to generic RIDC headers
|
public static List<RIDCCookie> convert(List<org.apache.http.cookie.Cookie> aCookies)
aCookies
- apache cookiespublic static List<RIDCHttpHeader> convertToRIDCHeaders(org.apache.http.Header[] allHeaders)
allHeaders
- apache headerspublic static org.apache.http.auth.Credentials convertCredentials(Credentials idcCredentials)
idcCredentials
- RIDC implpublic static List<? extends org.apache.http.NameValuePair> convertNVPair(List<NameValuePair> nvpairList)
nvpairList
- name value pair