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.apache.myfaces.orchestra.filter
Class OrchestraServletFilter

    java.lang.Object
      org.apache.myfaces.orchestra.filter.OrchestraServletFilter

All Implemented Interfaces:
  javax.servlet.Filter

    public class OrchestraServletFilter

extends java.lang.Object
implements javax.servlet.Filter

Perform a number of useful per-request tasks.

This filter has been deprecated. The configuration settings it supports are still implemented; however web.xml files defining this filter should instead simply define context params using the corresponding constants from class org.apache.myfaces.orchestra.CoreConfig instead.

## Request Serialization

Request serialization functionality can be enabled or disabled via a filter init parameter; setting "serializeRequests" to "false" disables this feature. Default value: true (enabled).

See `CoreConfig.SERIALIZE_REQUESTS` for further details.

## JDBC Connection Management

This servlet always enables connection management; see `CoreConfig.CLEANUP_CONNECTIONS` for further details.

Field Summary
`static java.lang.String` | `SERIALIZE_REQUESTS` This filter init property can be set to "true" or "false".

Constructor Summary
`OrchestraServletFilter()`

Method Summary
`void` | `destroy()`
`void` | `doFilter(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse, javax.servlet.FilterChain filterChain)`
`void` | `init(javax.servlet.FilterConfig filterConfig)`

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

Field Detail

### SERIALIZE_REQUESTS

    public static final java.lang.String SERIALIZE_REQUESTS

  This filter init property can be set to "true" or "false". Default: "true".

  See Also:
    Constant Field Values

Constructor Detail

### OrchestraServletFilter

    public OrchestraServletFilter()

Method Detail

### init

    public void init(javax.servlet.FilterConfig filterConfig)
              throws javax.servlet.ServletException

  Specified by:
    `init` in interface `javax.servlet.Filter`
  Throws:
    `javax.servlet.ServletException`

### doFilter

    public void doFilter(javax.servlet.ServletRequest servletRequest,
                         javax.servlet.ServletResponse servletResponse,
                         javax.servlet.FilterChain filterChain)
                  throws java.io.IOException,
                         javax.servlet.ServletException

  Specified by:
    `doFilter` in interface `javax.servlet.Filter`
  Throws:
    `java.io.IOException`
    `javax.servlet.ServletException`

### destroy

    public void destroy()

  Specified by:
    `destroy` in interface `javax.servlet.Filter`

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 © 2009 The Apache Software Foundation. All Rights Reserved.