| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.axis.transport.http.ServletEndpointContextImpl
| Constructor Summary | |
| ServletEndpointContextImpl() | |
| Method Summary | |
|  javax.servlet.http.HttpSession | getHttpSession()The getHttpSessionmethod returns the current
 HTTP session (as ajavax.servlet.http.HTTPSession). | 
|  MessageContext | getMessageContext()The method getMessageContextreturns theMessageContexttargeted for this endpoint instance. | 
|  javax.servlet.ServletContext | getServletContext()The method getServletContextreturns theServletContext associated with the web
 application that contain this endpoint. | 
|  java.security.Principal | getUserPrincipal()Returns a java.security.Principalinstance that
 contains the name of the authenticated user for the current
 method invocation on the endpoint instance. | 
|  boolean | isUserInRole(java.lang.String role) | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public ServletEndpointContextImpl()
| Method Detail | 
public javax.servlet.http.HttpSession getHttpSession()
ServletEndpointContextgetHttpSession method returns the current
 HTTP session (as a javax.servlet.http.HTTPSession).
 When invoked by the service endpoint within a remote method
 implementation, the getHttpSession returns the
 HTTP session associated currently with this method invocation.
 This method returns null if there is no HTTP
 session currently active and associated with this service
 endpoint. An endpoint class should not rely on an active
 HTTP session being always there; the underlying JAX-RPC
 runtime system is responsible for managing whether or not
 there is an active HTTP session.
 
 The getHttpSession method throws JAXRPCException
 if invoked by an non HTTP bound endpoint.
getHttpSession in interface ServletEndpointContextnull if there is no active session.public MessageContext getMessageContext()
ServletEndpointContextgetMessageContext returns the
 MessageContext targeted for this endpoint instance.
 This enables the service endpoint instance to acccess the
 MessageContext propagated by request
 HandlerChain (and its contained Handler
 instances) to the target endpoint instance and to share any
 SOAP message processing related context. The endpoint instance
 can access and manipulate the MessageContext
 and share the SOAP message processing related context with
 the response HandlerChain.
getMessageContext in interface ServletEndpointContextMessageContext, this method returns
     null.public javax.servlet.ServletContext getServletContext()
ServletEndpointContextgetServletContext returns the
 ServletContext associated with the web
 application that contain this endpoint. According to
 the Servlet specification, There is one context per web
 application (installed as a WAR) per JVM . A servlet
 based service endpoint is deployed as part of a web
 application.
getServletContext in interface ServletEndpointContextServletContextpublic boolean isUserInRole(java.lang.String role)
isUserInRole in interface ServletEndpointContextpublic java.security.Principal getUserPrincipal()
ServletEndpointContextjava.security.Principal instance that
 contains the name of the authenticated user for the current
 method invocation on the endpoint instance. This method returns
 null if there is no associated principal yet.
 The underlying JAX-RPC runtime system takes the responsibility
 of providing the appropriate authenticated principal for a
 remote method invocation on the service endpoint instance.
getUserPrincipal in interface ServletEndpointContextjava.security.Principal for the
 authenticated principal associated with the current
 invocation on the servlet endpoint instance;
 Returns null if there no authenticated
 user associated with a method invocation.| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||