Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.nanocontainer.webcontainer
Class PicoContextHandler

    java.lang.Object
      org.nanocontainer.webcontainer.PicoContextHandler

    public class PicoContextHandler

extends Object

Field Summary
`static int` | `ALL`
`static int` | `DEFAULT`
`static int` | `ERROR`
`static int` | `FORWARD`
`static int` | `INCLUDE`
`static int` | `REQUEST`

Constructor Summary
`PicoContextHandler(org.mortbay.jetty.handler.ContextHandler context, org.mortbay.jetty.Server server, org.picocontainer.PicoContainer parentContainer, boolean sessionManager)`

Method Summary
`void` | `addErrorHandler()`
`void` | `addErrorHandler(org.mortbay.jetty.handler.ErrorHandler handler)`
`PicoFilterHolder` | `addFilterWithMapping(Class filterClass, String pathMapping, int dispatchers)`
`javax.servlet.Filter` | `addFilterWithMapping(javax.servlet.Filter filter, String pathMapping, int dispatchers)`
`EventListener` | `addListener(Class listenerClass)`
`EventListener` | `addListener(EventListener listener)`
`PicoServletHolder` | `addServletWithMapping(Class servletClass, String pathMapping)`
`javax.servlet.Servlet` | `addServletWithMapping(javax.servlet.Servlet servlet, String pathMapping)`
`void` | `setDefaultHandling(String absolutePath, String scratchDir, String pageSuffix)`
`void` | `setStaticContext(String absolutePath)`
`void` | `setStaticContext(String absolutePath, String welcomePage)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### DEFAULT

    public static final int DEFAULT

See Also:
  Constant Field Values

### REQUEST

    public static final int REQUEST

See Also:
  Constant Field Values

### FORWARD

    public static final int FORWARD

See Also:
  Constant Field Values

### INCLUDE

    public static final int INCLUDE

See Also:
  Constant Field Values

### ERROR

    public static final int ERROR

See Also:
  Constant Field Values

### ALL

    public static final int ALL

See Also:
  Constant Field Values

Constructor Detail

### PicoContextHandler

    public PicoContextHandler(org.mortbay.jetty.handler.ContextHandler context,
                              org.mortbay.jetty.Server server,
                              org.picocontainer.PicoContainer parentContainer,
                              boolean sessionManager)

Method Detail

### addServletWithMapping

    public PicoServletHolder addServletWithMapping(Class servletClass,
                                                   String pathMapping)

### addServletWithMapping

    public javax.servlet.Servlet addServletWithMapping(javax.servlet.Servlet servlet,
                                                       String pathMapping)

### addFilterWithMapping

    public PicoFilterHolder addFilterWithMapping(Class filterClass,
                                                 String pathMapping,
                                                 int dispatchers)

### addFilterWithMapping

    public javax.servlet.Filter addFilterWithMapping(javax.servlet.Filter filter,
                                                     String pathMapping,
                                                     int dispatchers)

### addListener

    public EventListener addListener(Class listenerClass)

### addListener

    public EventListener addListener(EventListener listener)

### setStaticContext

    public void setStaticContext(String absolutePath)

### setStaticContext

    public void setStaticContext(String absolutePath,
                                 String welcomePage)

### setDefaultHandling

    public void setDefaultHandling(String absolutePath,
                                   String scratchDir,
                                   String pageSuffix)

### addErrorHandler

    public void addErrorHandler()

### addErrorHandler

    public void addErrorHandler(org.mortbay.jetty.handler.ErrorHandler handler)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2007 Codehaus. All Rights Reserved.