1 package org.apache.slide.projector; 2 3 import java.io.IOException ; 4 5 public interface Store { 6 public final static int NONE = -1; 7 public final static int REQUEST_PARAMETER = 0; public final static int REQUEST_ATTRIBUTE = 1; public final static int REQUEST_HEADER = 2; 10 public final static int SESSION = 3; 11 public final static int COOKIE = 4; 12 public final static int CONTEXT = 5; 13 public final static int CACHE = 6; 14 public final static int REPOSITORY = 7; 15 public final static int INPUT = 8; 16 public final static int OUTPUT = 9; 17 public final static int TRANSIENT_PROCESS = 10; public final static int PERSISTENT_PROCESS = 11; public final static int FORM = 12; 20 public final static int STEP = 13; 21 22 public final static String [] stores = { "request-parameter", "request-attribute", "request-header", "session", "cookie", "context", "cache", "repository", "input", "output", "process", "persistent-process", "form", "step" }; 23 24 void put(String key, Object value, long timeout) throws IOException ; 25 26 void put(String key, Object value) throws IOException ; 27 28 Object get(String key) throws IOException ; 29 30 void dispose(String key) throws IOException ; 31 } | Popular Tags |