This project has retired. For details please refer to its
        
        Attic page .
      
ServletServiceContext (Cocoon Servlet Service Implementation 1.3.3-SNAPSHOT API)
 
 
org.apache.cocoon.servletservice 
 
java.lang.Object 
  org.apache.cocoon.servletservice.util.ServletContextWrapper 
      org.apache.cocoon.servletservice.ServletServiceContext 
 
All Implemented Interfaces:  javax.servlet.ServletContext, Absolutizable  
 
public class ServletServiceContext  extends ServletContextWrapper implements Absolutizable    
Since: 1.0.0 
Version: $Id: ServletServiceContext.html 1422810 2012-12-17 09:13:50Z ilgrosso $ 
 
 
Methods inherited from class java.lang.Object   
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait  
 
SUPER 
public static final String  SUPER  
See Also: Constant Field Values  
 
ServletServiceContext 
public ServletServiceContext () 
 
getAttribute 
public Object  getAttribute (String  name) 
Specified by: getAttribute in interface javax.servlet.ServletContextOverrides: getAttribute ServletContextWrapper  
 
 
setAttribute 
public void setAttribute (String  name,
                         Object  value) 
Specified by: setAttribute in interface javax.servlet.ServletContextOverrides: setAttribute ServletContextWrapper  
 
 
removeAttribute 
public void removeAttribute (String  name) 
Specified by: removeAttribute in interface javax.servlet.ServletContextOverrides: removeAttribute ServletContextWrapper  
 
 
getAttributeNames 
public Enumeration  getAttributeNames () 
Specified by: getAttributeNames in interface javax.servlet.ServletContextOverrides: getAttributeNames ServletContextWrapper  
 
 
setAttributes 
public void setAttributes (Map  map) 
 
Parameters: map - the attributes to set 
 
getResource 
public URL  getResource (String  path)
                throws MalformedURLException  
Specified by: getResource in interface javax.servlet.ServletContextOverrides: getResource ServletContextWrapper  
Throws: 
MalformedURLException  
 
getRealPath 
public String  getRealPath (String  path) 
Specified by: getRealPath in interface javax.servlet.ServletContextOverrides: getRealPath ServletContextWrapper  
 
 
getInitParameter 
public String  getInitParameter (String  name) 
Specified by: getInitParameter in interface javax.servlet.ServletContextOverrides: getInitParameter ServletContextWrapper  
 
 
getInitParameterNames 
public Enumeration  getInitParameterNames () 
Specified by: getInitParameterNames in interface javax.servlet.ServletContextOverrides: getInitParameterNames ServletContextWrapper  
 
 
getResourceAsStream 
public InputStream  getResourceAsStream (String  path) 
Specified by: getResourceAsStream in interface javax.servlet.ServletContextOverrides: getResourceAsStream ServletContextWrapper  
 
 
getContext 
public javax.servlet.ServletContext getContext (String  uripath) 
Specified by: getContext in interface javax.servlet.ServletContextOverrides: getContext ServletContextWrapper  
 
 
getMajorVersion 
public int getMajorVersion () 
Specified by: getMajorVersion in interface javax.servlet.ServletContextOverrides: getMajorVersion ServletContextWrapper  
 
 
getMinorVersion 
public int getMinorVersion () 
Specified by: getMinorVersion in interface javax.servlet.ServletContextOverrides: getMinorVersion ServletContextWrapper  
 
 
getResourcePaths 
public Set  getResourcePaths (String  path) 
Specified by: getResourcePaths in interface javax.servlet.ServletContextOverrides: getResourcePaths ServletContextWrapper  
 
 
getRequestDispatcher 
public javax.servlet.RequestDispatcher getRequestDispatcher (String  path) 
Specified by: getRequestDispatcher in interface javax.servlet.ServletContextOverrides: getRequestDispatcher ServletContextWrapper  
 
 
getNamedDispatcher 
public javax.servlet.RequestDispatcher getNamedDispatcher (String  name) 
Specified by: getNamedDispatcher in interface javax.servlet.ServletContextOverrides: getNamedDispatcher ServletContextWrapper  
 
 
getServerInfo 
public String  getServerInfo () 
Specified by: getServerInfo in interface javax.servlet.ServletContextOverrides: getServerInfo ServletContextWrapper  
 
 
getServletContextName 
public String  getServletContextName () 
Specified by: getServletContextName in interface javax.servlet.ServletContextOverrides: getServletContextName ServletContextWrapper  
 
 
setServlet 
public void setServlet (javax.servlet.Servlet servlet) 
Set the servlet of the context
 
Parameters: servlet -  
  
absolutizeURI 
public URI  absolutizeURI (URI  uri)
                  throws URISyntaxException  
Takes the scheme specific part of a servlet service URI (the scheme is the responsibilty of the ServletSource)
 and resolve it with respect to the servlets mount point.
Specified by: absolutizeURI Absolutizable  
Parameters: uri - relative uri
Returns: absolutized uri
 Throws: 
URISyntaxException  
  
getServiceName 
public String  getServiceName (String  connectionName) 
Description copied from interface: Absolutizable  Get the fully qualified servlet service name of a connected service.
Specified by: getServiceName Absolutizable  
Returns: The fully qualified servlet service name of a connected service.  
  
getServiceName 
public String  getServiceName () 
Description copied from interface: Absolutizable  Get the fully qualifed service name.
Specified by: getServiceName Absolutizable  
Returns: The fully qualified servlet service name.  
  
getNamedContext 
public javax.servlet.ServletContext getNamedContext (String  name) 
Get the context of a servlet service with a given name.
 
 
  
setMountPath 
public void setMountPath (String  mountPath) 
 
Parameters: mountPath - The mountPath to set. 
 
getMountPath 
public String  getMountPath () 
Get the mount path of the servlet service context
 
 
  
setContextPath 
public void setContextPath (String  contextPath) 
 
Parameters: contextPath -  
 
setInitParams 
public void setInitParams (Map  properties) 
 
Parameters: properties - The properties to set. 
 
setConnections 
public void setConnections (Map  connections) 
 
Parameters: connections - the connections to set 
 
setConnectionServiceNames 
public void setConnectionServiceNames (Map  connectionServletServiceNames) 
 
Parameters: connections - the service names of the connections 
 
setServiceName 
public void setServiceName (String  serviceName) 
 
Parameters: serviceName - the name of the 
 
The Apache Software Foundation . All Rights Reserved.