|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tuckey.web.filters.urlrewrite.TypeConverter
public class TypeConverter
Assists with the setting of variable type names for condition types and rule to variables.
Field Summary | |
---|---|
protected java.lang.String |
error
Error message from the regular expression compilation. |
protected short |
type
Type of condition ie, header, port etc. |
static short |
TYPE_ATTRIBUTE
|
static short |
TYPE_AUTH_TYPE
|
static short |
TYPE_CHARACTER_ENCODING
|
static short |
TYPE_CONTENT_LENGTH
|
static short |
TYPE_CONTENT_TYPE
|
static short |
TYPE_CONTEXT_PATH
|
static short |
TYPE_COOKIE
|
static short |
TYPE_EXCEPTION
|
static short |
TYPE_HEADER
|
static short |
TYPE_LOCAL_PORT
|
static short |
TYPE_METHOD
|
static short |
TYPE_PARAMETER
|
static short |
TYPE_PATH_INFO
|
static short |
TYPE_PATH_TRANSLATED
|
static short |
TYPE_PROTOCOL
|
static short |
TYPE_QUERY_STRING
|
static short |
TYPE_REMOTE_ADDR
|
static short |
TYPE_REMOTE_HOST
|
static short |
TYPE_REMOTE_USER
|
static short |
TYPE_REQUEST_URI
|
static short |
TYPE_REQUEST_URL
|
static short |
TYPE_REQUESTED_SESSION_ID
|
static short |
TYPE_SCHEME
|
static short |
TYPE_SERVER_NAME
|
static short |
TYPE_SERVER_PORT
|
static short |
TYPE_SESSION_ATTRIBUTE
|
static short |
TYPE_SESSION_IS_NEW
|
static short |
TYPE_TIME
|
static short |
TYPE_TIME_AMPM
|
static short |
TYPE_TIME_DAY_OF_MONTH
|
static short |
TYPE_TIME_DAY_OF_WEEK
|
static short |
TYPE_TIME_HOUR_OF_DAY
|
static short |
TYPE_TIME_MILLISECOND
|
static short |
TYPE_TIME_MINUTE
|
static short |
TYPE_TIME_MONTH
|
static short |
TYPE_TIME_SECOND
|
static short |
TYPE_TIME_YEAR
|
static short |
TYPE_USER_IN_ROLE
|
Constructor Summary | |
---|---|
TypeConverter()
|
Method Summary | |
---|---|
java.lang.String |
getError()
Will get the description of the error. |
java.lang.String |
getType()
Will get the type code ie, method, port, header etc. |
int |
getTypeShort()
|
protected void |
setError(java.lang.String error)
|
void |
setType(java.lang.String strType)
Will set the type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected short type
protected java.lang.String error
public static final short TYPE_TIME
public static final short TYPE_TIME_YEAR
public static final short TYPE_TIME_MONTH
public static final short TYPE_TIME_DAY_OF_MONTH
public static final short TYPE_TIME_DAY_OF_WEEK
public static final short TYPE_TIME_AMPM
public static final short TYPE_TIME_HOUR_OF_DAY
public static final short TYPE_TIME_MINUTE
public static final short TYPE_TIME_SECOND
public static final short TYPE_TIME_MILLISECOND
public static final short TYPE_ATTRIBUTE
public static final short TYPE_AUTH_TYPE
public static final short TYPE_CHARACTER_ENCODING
public static final short TYPE_CONTENT_LENGTH
public static final short TYPE_CONTENT_TYPE
public static final short TYPE_CONTEXT_PATH
public static final short TYPE_COOKIE
public static final short TYPE_HEADER
public static final short TYPE_LOCAL_PORT
public static final short TYPE_METHOD
public static final short TYPE_PARAMETER
public static final short TYPE_PATH_INFO
public static final short TYPE_PATH_TRANSLATED
public static final short TYPE_PROTOCOL
public static final short TYPE_QUERY_STRING
public static final short TYPE_REMOTE_ADDR
public static final short TYPE_REMOTE_HOST
public static final short TYPE_REMOTE_USER
public static final short TYPE_REQUESTED_SESSION_ID
public static final short TYPE_REQUEST_URI
public static final short TYPE_REQUEST_URL
public static final short TYPE_SESSION_ATTRIBUTE
public static final short TYPE_SESSION_IS_NEW
public static final short TYPE_SERVER_PORT
public static final short TYPE_SERVER_NAME
public static final short TYPE_SCHEME
public static final short TYPE_USER_IN_ROLE
public static final short TYPE_EXCEPTION
Constructor Detail |
---|
public TypeConverter()
Method Detail |
---|
public java.lang.String getType()
public void setType(java.lang.String strType)
strType
- the typepublic final java.lang.String getError()
protected void setError(java.lang.String error)
public int getTypeShort()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |