FileDocCategorySizeDatePackage
ServletEndpointContextImpl.javaAPI DocApache Axis 1.42184Sat Apr 22 18:57:28 BST 2006org.apache.axis.transport.http

ServletEndpointContextImpl

public class ServletEndpointContextImpl extends Object implements javax.xml.rpc.server.ServletEndpointContext

Fields Summary
Constructors Summary
Methods Summary
public javax.servlet.http.HttpSessiongetHttpSession()

        HttpServletRequest srvreq = (HttpServletRequest) 
                getMessageContext().getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST);
        return (srvreq == null)  ? null : srvreq.getSession();
    
public javax.xml.rpc.handler.MessageContextgetMessageContext()

        return org.apache.axis.MessageContext.getCurrentContext();
    
public javax.servlet.ServletContextgetServletContext()

        HttpServlet srv = (HttpServlet)
                getMessageContext().getProperty(HTTPConstants.MC_HTTP_SERVLET);
        return (srv == null) ? null : srv.getServletContext();
    
public java.security.PrincipalgetUserPrincipal()

        HttpServletRequest srvreq = (HttpServletRequest)
                getMessageContext().getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST);

        return (srvreq == null) ? null : srvreq.getUserPrincipal();
    
public booleanisUserInRole(java.lang.String role)

        HttpServletRequest srvreq = (HttpServletRequest)
                getMessageContext().getProperty(HTTPConstants.MC_HTTP_SERVLETREQUEST);
        return (srvreq == null) ? false : srvreq.isUserInRole(role);