|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<CachingMode> net.sf.sotacs.dynimg.api.CachingMode
public enum CachingMode
Enum Constant Summary | |
---|---|
application
Same as session but the key is only the image format and the parameter array |
|
client
client browser caches the page with the whole url as key until expiration date is reached. |
|
session
In addition to client, the server caches the image key in the session id together with the image format (jpg or png) and the parameter array |
Method Summary | |
---|---|
static CachingMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static CachingMode[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final CachingMode client
public static final CachingMode session
public static final CachingMode application
Method Detail |
---|
public static final CachingMode[] values()
for(CachingMode c : CachingMode.values()) System.out.println(c);
public static CachingMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |