|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cc.framework.http.RequestDecorationType
Enumeration of RequestDecorationTypes
Field Summary | |
private java.lang.String |
prefix
Prefix |
private static long |
serialVersionUID
Serial Version UID |
static RequestDecorationType |
TYPE_HD_FORM
TYPE_HD_FORM |
static RequestDecorationType |
TYPE_HD_URL
TYPE_HD_URL |
static RequestDecorationType |
TYPE_URL
TYPE_URL |
private java.lang.String |
value
Internal Type |
Constructor Summary | |
RequestDecorationType(java.lang.String value,
java.lang.String prefix)
Constructor for RequestDecorationType |
Method Summary | |
java.lang.String |
decorate(java.lang.String str)
Concatenates a String with the Prefix |
boolean |
equals(java.lang.Object obj)
Compares this type to the specified object. |
java.lang.String |
getName()
Returns the Name |
int |
hashCode()
|
boolean |
isMatching(java.lang.String requestParam)
Checks if the Argument matches the Prefix of the EnumerationTyp |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final long serialVersionUID
public static final RequestDecorationType TYPE_HD_FORM
public static final RequestDecorationType TYPE_HD_URL
public static final RequestDecorationType TYPE_URL
private java.lang.String value
private java.lang.String prefix
Constructor Detail |
public RequestDecorationType(java.lang.String value, java.lang.String prefix)
value
- Valueprefix
- PrefixMethod Detail |
public boolean isMatching(java.lang.String requestParam)
requestParam
- Request Parameter
public java.lang.String decorate(java.lang.String str)
str
- String
public java.lang.String getName()
public boolean equals(java.lang.Object obj)
obj
- The object to compare this RequestDecorationType
object against.
true
if the internal types are equal;
false
otherwise.public int hashCode()
Object.hashCode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |