Class WSSServletContextFacade

java.lang.Object
com.sun.xml.wss.util.WSSServletContextFacade

public class WSSServletContextFacade extends Object
Facade for the ServletContext class.
  • Method Details

    • getResource

      public URL getResource(String path)
      Looks for a file as a resource from a ServletContext.
      Parameters:
      path - the path of the file resource
      Returns:
      URL pointing to the given config file or null
    • getVirtualServerName

      public String getVirtualServerName()
      Returns:
      the configuration name of the logical host on which the ServletContext is deployed.
    • getContextPath

      public String getContextPath()
      Returns:
      the context path of the web application.
    • setStringAttribute

      public void setStringAttribute(String attributeName, String attributeValue)
      Sets the servlet context attribute.
    • getStringAttribute

      public String getStringAttribute(String attributeName)
      Don't use this method for non-string attributes.
      Returns:
      the servlet context attribute.