|
AdroitLogic UltraESB v1.7.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface HTTPSupport
HTTP mediation support
| Method Summary | |
|---|---|
void |
addPreemptiveBasicAuthentication(Message msg,
java.lang.String username,
java.lang.String password)
Adds an HTTP transport header for pre-emptive basic authentication for this message. |
void |
addPreemptiveBasicAuthentication(Message msg,
java.lang.String username,
java.lang.String password,
java.lang.String charset,
boolean proxy)
Adds an HTTP transport header for pre-emptive basic authentication for this message. |
java.lang.String |
getCookie(Message msg,
java.lang.String name)
Return the value of the cookie with the given name |
java.lang.String |
getJvmRoute(Message msg)
Return the jvmRoute from the JSESSIONID cookie or jsessionid URL parameter of an HTTP/S request |
boolean |
isHessian(Message msg)
Check the message content type to see if it indicates a Hessian message |
void |
setCookie(Message msg,
java.lang.String name,
java.lang.String value)
Set a HTTP cookie on the message |
void |
setCookie(Message msg,
java.lang.String name,
java.lang.String value,
java.lang.String path,
int age)
Set a HTTP cookie on the message |
void |
setCookie(Message msg,
java.lang.String name,
java.lang.String value,
java.lang.String path,
java.lang.String domain,
int age,
boolean secure)
Set a HTTP cookie on the message |
| Method Detail |
|---|
java.lang.String getJvmRoute(Message msg)
msg - the current message
java.lang.String getCookie(Message msg,
java.lang.String name)
msg - message to extract cookie fromname - the name of the cookie
void setCookie(Message msg,
java.lang.String name,
java.lang.String value,
java.lang.String path,
java.lang.String domain,
int age,
boolean secure)
msg - the response message to set the cookie onname - name of the cookievalue - value of the cookiepath - the path for the cookiedomain - the domain for the cookieage - the max age for the cookiesecure - true if cookie is secure
void setCookie(Message msg,
java.lang.String name,
java.lang.String value,
java.lang.String path,
int age)
msg - the response message to set the cookie onname - name of the cookievalue - value of the cookiepath - the path for the cookieage - the max age for the cookie
void setCookie(Message msg,
java.lang.String name,
java.lang.String value)
msg - the response message to set the cookie onname - name of the cookievalue - value of the cookie
void addPreemptiveBasicAuthentication(Message msg,
java.lang.String username,
java.lang.String password,
java.lang.String charset,
boolean proxy)
msg - the message to add an HTTP 'Authorization' header for basic authenticationusername - the usernamepassword - the passwordcharset - the character set for the credentialsproxy - if header should be for proxy authentication or WWW authentication
void addPreemptiveBasicAuthentication(Message msg,
java.lang.String username,
java.lang.String password)
msg - the message to add an HTTP 'Authorization' header for basic authenticationusername - the username in US-ASCII character setpassword - the password in US-ASCII character setboolean isHessian(Message msg)
msg - the message to detect
|
Copyright (c) 2010-2012 AdroitLogic Private Ltd. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||