1
2
3
4
5
6
7
8
9
10
11
12
13
14 package net.sourceforge.statelessfilter.filter;
15
16 import java.util.ArrayList;
17 import java.util.HashMap;
18 import java.util.List;
19
20 import net.sourceforge.statelessfilter.backend.ISessionBackend;
21 import net.sourceforge.statelessfilter.processor.IRequestProcessor;
22
23 import org.apache.commons.lang.StringUtils;
24
25
26
27
28
29
30
31 public class Configuration {
32
33 public static final String BUFFERING_FALSE="false" ;
34 public static final String BUFFERING_HEADERS="headers" ;
35 public static final String BUFFERING_FULL="full" ;
36
37 public HashMap<String, ISessionBackend> backends = new HashMap<String, ISessionBackend>();
38 public HashMap<String, String> backendsAttributeMapping = new HashMap<String, String>();
39 public String defaultBackend = StringUtils.EMPTY;
40 public String isBufferingRequired = BUFFERING_FALSE;
41 public List<IRequestProcessor> requestProcessors = new ArrayList<IRequestProcessor>();
42 public boolean useDirty = false;
43 }