# com.bea.p13n.http
DefaultSessionFilter Class

public class DefaultSessionFilter
extends `Object`
implements `Filter`, `MapFilter`, `Serializable`

The default P13N Session Filter. This class implements a filter that determines the objects in the HTTP session are to be used in the construction of the P13N Session object.

Hierarchy
  `Object`
  `DefaultSessionFilter`

All Implemented Interfaces
  `Filter`, `MapFilter`, `Serializable`

Direct Known Subclasses
  `DefaultRequestFilter`

## Constructor Summary

DefaultSessionFilter() Default Constructor

## Method Summary

`public `Map`` | `filter`(`Map` aMap) This filter will include values in the source map whose value object's class matches the following types: java.lang.String java.lang.Boolean java.lang.Long java.lang.Double java.sql.Timestamp java.util.Collection since these are the only types supported by the rules editor.
`public `Object`` | `filter`(`Object` in) Filter the given input object according to the object's class.
`public boolean` | `isAllowableType`(`Class` cl) Determine if the specified class is one this object should allow.

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

Methods from interface `com.bea.p13n.http.internal.`Filter``
`filter`

Methods from interface `com.bea.p13n.http.internal.`MapFilter``
`filter`

## Constructor Detail

### DefaultSessionFilter

    public DefaultSessionFilter()

  Default Constructor

## Method Detail

### filter(Map) Method

    public Map filter(Map aMap)

This filter will include values in the source map whose value object's class matches the following types: java.lang.String java.lang.Boolean java.lang.Long java.lang.Double java.sql.Timestamp java.util.Collection since these are the only types supported by the rules editor.

#### Parameters

aMap
  The source Map object that contains the session key/value pairs.

#### Returns

The filtered Map

### filter(Object) Method

    public Object filter(Object in)

Filter the given input object according to the object's class.

Related Topics

``DefaultSessionFilter.isAllowableType(Class)``

### isAllowableType(Class) Method

    public boolean isAllowableType(Class cl)

Determine if the specified class is one this object should allow.