|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectflex.messaging.FlexContext
public class FlexContext
The FlexContext class is a utility class that holds the FlexSession, HttpServletRequest, HttpServletResponse and ServletConfig for the current thread (request).
| Method Summary | |
|---|---|
static FlexClient |
getFlexClient()
The FlexClient for the current request. |
static FlexSession |
getFlexSession()
The FlexSession for the current request. |
static javax.servlet.http.HttpServletRequest |
getHttpRequest()
The HttpServletResponse for the current request if the request is via HTTP. |
static javax.servlet.http.HttpServletResponse |
getHttpResponse()
The HttpServletResponse for the current request if the request is via HTTP. |
static javax.servlet.ServletConfig |
getServletConfig()
The ServletConfig for the current request, uses the last known ServletConfig when the request is not via HTTP. |
static javax.servlet.ServletContext |
getServletContext()
The ServletContext for the current web application. |
static javax.servlet.http.HttpServletRequest |
getTunnelHttpRequest()
The HttpServletRequest for the current request if it is transporting a tunneled protocol. |
static Principal |
getUserPrincipal()
Returns the principal associated with the session or client depending on whether perClientauthentication is being used. |
static boolean |
isMessageFromPeer()
Indicates whether the current message being processed came from a server peer in a cluster. |
static void |
setUserPrincipal(Principal userPrincipal)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static javax.servlet.http.HttpServletRequest getHttpRequest()
public static javax.servlet.http.HttpServletResponse getHttpResponse()
public static javax.servlet.http.HttpServletRequest getTunnelHttpRequest()
public static javax.servlet.ServletConfig getServletConfig()
public static javax.servlet.ServletContext getServletContext()
public static FlexClient getFlexClient()
public static FlexSession getFlexSession()
public static boolean isMessageFromPeer()
public static Principal getUserPrincipal()
public static void setUserPrincipal(Principal userPrincipal)
userPrincipal - The principal to associate with the session or client depending on whether
perClientauthentication is being used.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/lcdsjavadoc/flex/messaging/FlexContext.html