net.dpml.http
Interface WebAppContextHandler.Context

All Superinterfaces:
ContextHandlerContext
Enclosing interface:
WebAppContextHandler

public static interface WebAppContextHandler.Context
extends ContextHandlerContext

HTTP static resource vontext handler parameters.


Method Summary
 boolean getExtractionPolicy(boolean policy)
          Get the war extraction policy.
 PermissionCollection getPermissions(PermissionCollection permissions)
          Get the assigned permission collection.
 Map getResourceAliases(Map map)
          Get the resource alias map.
 SecurityHandler getSecurityHandler(SecurityHandler handler)
          Get the assigned security handler.
 ServletHandler getServletHandler(ServletHandler handler)
          Get the assigned servlet handler.
 SessionHandler getSessionHandler(SessionHandler handler)
          Get the assigned session handler.
 File getTempDirectory(File dir)
          Get the assigned temp directory.
 URI getWar()
          Get the war artifact uri.
 
Methods inherited from interface net.dpml.http.ContextHandlerContext
getClassLoader, getConnectors, getContextPath, getDisplayName, getErrorHandler, getMimeTypes, getVirtualHosts, getWelcomeFiles
 

Method Detail

getWar

public URI getWar()
Get the war artifact uri.

Returns:
the uri identifying the war artifact

getTempDirectory

public File getTempDirectory(File dir)
Get the assigned temp directory.

Parameters:
dir - the default temp directory
Returns:
the resolved temp directory

getResourceAliases

public Map getResourceAliases(Map map)
Get the resource alias map.

Parameters:
map - the default mapping
Returns:
the resolved map

getExtractionPolicy

public boolean getExtractionPolicy(boolean policy)
Get the war extraction policy.

Parameters:
policy - the default policy (true)
Returns:
the resolved policy

getPermissions

public PermissionCollection getPermissions(PermissionCollection permissions)
Get the assigned permission collection.

Parameters:
permissions - the default permissions value
Returns:
the resolved permissions collection

getSecurityHandler

public SecurityHandler getSecurityHandler(SecurityHandler handler)
Get the assigned security handler.

Parameters:
handler - the default value
Returns:
the resolved handler

getSessionHandler

public SessionHandler getSessionHandler(SessionHandler handler)
Get the assigned session handler.

Parameters:
handler - the default value
Returns:
the resolved handler

getServletHandler

public ServletHandler getServletHandler(ServletHandler handler)
Get the assigned servlet handler.

Parameters:
handler - the default value
Returns:
the resolved handler