oss.net.pstream.rewrite
Class TargetQueryRewriteVariableHandler

java.lang.Object
  |
  +--oss.net.pstream.rewrite.RewriteVariableHandler
        |
        +--oss.net.pstream.rewrite.TargetQueryRewriteVariableHandler

public class TargetQueryRewriteVariableHandler
extends RewriteVariableHandler

Author:
slewis To change this generated comment edit the template variable "typecomment": Window>Preferences>Java>Templates. To enable and disable the creation of type comments go to Window>Preferences>Java>Code Generation.

Field Summary
 
Fields inherited from class oss.net.pstream.rewrite.RewriteVariableHandler
_debug, _lookupKey, CONTENT_TYPE, HOST_NAME, HOST_PATH, HOST_PORT, HOST_PROTOCOL, REQUEST_CONTEXT, REQUEST_HEADER, REQUEST_HOST, RESPONSE_BODY, RESPONSE_HEADER, SESSION, TARGET_FILE, TARGET_NAME, TARGET_PATH, TARGET_PORT, TARGET_PROTOCOL, TARGET_QUERY, TARGET_URL, USERVAR
 
Constructor Summary
TargetQueryRewriteVariableHandler(boolean Debug)
           
 
Method Summary
 java.lang.String getValue(PortletStreamParameters Params)
          Returns the value of this variable from the passed Params.
 java.lang.String getVariableName()
          Returns a reference to the static name of this variable.
 boolean isPreFetch()
          A boolean telling if this variable is PreFetch, meaning that it must be set before the request is made.
 void setValue(PortletStreamParameters Params, java.lang.String Value)
          Sets the value of this variable to the passed Params.
 
Methods inherited from class oss.net.pstream.rewrite.RewriteVariableHandler
setLookupKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TargetQueryRewriteVariableHandler

public TargetQueryRewriteVariableHandler(boolean Debug)
Method Detail

getVariableName

public java.lang.String getVariableName()
Description copied from class: RewriteVariableHandler
Returns a reference to the static name of this variable.

Specified by:
getVariableName in class RewriteVariableHandler
See Also:
oss.net.pstream.RewriteVariableHandler#getVariableName()

getValue

public java.lang.String getValue(PortletStreamParameters Params)
                          throws RewriteException
Description copied from class: RewriteVariableHandler
Returns the value of this variable from the passed Params.

Specified by:
getValue in class RewriteVariableHandler
Parameters:
Params - The PortletStreamParameters object from which to retrieve the value.
Returns:
A string representation of the value of this variable.
Throws:
RewriteException - if you screw up.
See Also:
oss.net.pstream.RewriteVariableHandler#getValue(PortletStreamParameters, HttpServletRequest)

setValue

public void setValue(PortletStreamParameters Params,
                     java.lang.String Value)
              throws RewriteException
Description copied from class: RewriteVariableHandler
Sets the value of this variable to the passed Params.

Specified by:
setValue in class RewriteVariableHandler
Parameters:
Params - The PortletStreamParameters object to which to set the value
Value - the string representation of the value to be set.
Throws:
RewriteException - if you screw up.
See Also:
oss.net.pstream.RewriteVariableHandler#setValue(PortletStreamParameters, String)

isPreFetch

public boolean isPreFetch()
Description copied from class: RewriteVariableHandler
A boolean telling if this variable is PreFetch, meaning that it must be set before the request is made. If false, then it cannot be set until after the request is made.

Specified by:
isPreFetch in class RewriteVariableHandler
See Also:
oss.net.pstream.RewriteVariableHandler#isPreFetch()


Copyright © 2000 Dummy Corp. All Rights Reserved.