# Class ExpiresFilter.ExpiresConfiguration

java.lang.Object
org.apache.catalina.filters.ExpiresFilter.ExpiresConfiguration

Enclosing class:
  `ExpiresFilter`

protected static class ExpiresFilter.ExpiresConfiguration extends Object

Main piece of configuration of the filter.

Can be expressed like '`access plus 1 month 15 days 2 hours`'.

## Constructor Summary

Constructors
Constructor
Description
`ExpiresConfiguration(ExpiresFilter.StartingPoint startingPoint, List<ExpiresFilter.Duration> durations)`

## Method Summary

Modifier and Type
Method
Description
`List<ExpiresFilter.Duration>`
`getDurations()`
`ExpiresFilter.StartingPoint`
`getStartingPoint()`
`String`
`toString()`

### Methods inherited from class java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

## Constructor Details

### ExpiresConfiguration

public ExpiresConfiguration(ExpiresFilter.StartingPoint startingPoint, List<ExpiresFilter.Duration> durations)

## Method Details

### getDurations

public List<ExpiresFilter.Duration> getDurations()

### getStartingPoint

public ExpiresFilter.StartingPoint getStartingPoint()

### toString

public String toString()

Overrides:
  `toString` in class `Object`