| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--oss.net.pstream.rewrite.RewriteVariableHandler
An abstract class to predefine common strings and the functions used for resolving rewrite variables in both RewriteCondition and RewriteRule sets.
Title:
Description:
Copyright: Copyright (c) 2002
Company:
| Field Summary | |
protected  boolean | 
_debug
 | 
protected  java.lang.String | 
_lookupKey
 | 
protected static java.lang.String | 
CONTENT_TYPE
 | 
protected static java.lang.String | 
HOST_NAME
 | 
protected static java.lang.String | 
HOST_PATH
 | 
protected static java.lang.String | 
HOST_PORT
 | 
protected static java.lang.String | 
HOST_PROTOCOL
 | 
protected static java.lang.String | 
REQUEST_CONTEXT
 | 
protected static java.lang.String | 
REQUEST_HEADER
 | 
protected static java.lang.String | 
REQUEST_HOST
 | 
protected static java.lang.String | 
RESPONSE_BODY
 | 
protected static java.lang.String | 
RESPONSE_HEADER
 | 
protected static java.lang.String | 
SESSION
 | 
protected static java.lang.String | 
TARGET_FILE
 | 
protected static java.lang.String | 
TARGET_NAME
 | 
protected static java.lang.String | 
TARGET_PATH
 | 
protected static java.lang.String | 
TARGET_PORT
 | 
protected static java.lang.String | 
TARGET_PROTOCOL
 | 
protected static java.lang.String | 
TARGET_QUERY
 | 
protected static java.lang.String | 
TARGET_URL
 | 
protected static java.lang.String | 
USERVAR
 | 
| Constructor Summary | |
RewriteVariableHandler(boolean Debug)
Default constructure required to set the debug variable for child use.  | 
|
| Method Summary | |
abstract  java.lang.String | 
getValue(PortletStreamParameters Params)
Returns the value of this variable from the passed Params.  | 
abstract  java.lang.String | 
getVariableName()
Returns a reference to the static name of this variable.  | 
abstract  boolean | 
isPreFetch()
A boolean telling if this variable is PreFetch, meaning that it must be set before the request is made.  | 
 void | 
setLookupKey(java.lang.String LookupKey)
Sets the lookup key if this handler is a lookup handler  | 
abstract  void | 
setValue(PortletStreamParameters Params,
         java.lang.String Value)
Sets the value of this variable to the passed Params.  | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
protected boolean _debug
protected static java.lang.String HOST_PROTOCOL
protected static java.lang.String HOST_NAME
protected static java.lang.String HOST_PORT
protected static java.lang.String HOST_PATH
protected static java.lang.String TARGET_PROTOCOL
protected static java.lang.String TARGET_NAME
protected static java.lang.String TARGET_PORT
protected static java.lang.String TARGET_PATH
protected static java.lang.String TARGET_FILE
protected static java.lang.String TARGET_QUERY
protected static java.lang.String RESPONSE_BODY
protected static java.lang.String CONTENT_TYPE
protected static java.lang.String TARGET_URL
protected static java.lang.String SESSION
protected static java.lang.String REQUEST_HEADER
protected static java.lang.String RESPONSE_HEADER
protected static java.lang.String USERVAR
protected static java.lang.String REQUEST_CONTEXT
protected static java.lang.String REQUEST_HOST
protected java.lang.String _lookupKey
| Constructor Detail | 
public RewriteVariableHandler(boolean Debug)
Debug - Turns on/off debugging for The write variables.| Method Detail | 
public void setLookupKey(java.lang.String LookupKey)
public abstract java.lang.String getVariableName()
public abstract java.lang.String getValue(PortletStreamParameters Params)
                                   throws RewriteException
Params - The PortletStreamParameters object from which to retrieve
 the value.
RewriteException - if you screw up.
public abstract void setValue(PortletStreamParameters Params,
                              java.lang.String Value)
                       throws RewriteException
Params - The PortletStreamParameters object to which to set the
 valueValue - the string representation of the value to be set.
RewriteException - if you screw up.public abstract boolean isPreFetch()
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||