oss.net.pstream.rewrite
Class TargetPortRewriteVariableHandler

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

public class TargetPortRewriteVariableHandler
extends RewriteVariableHandler

Title:

Description:

Copyright: Copyright (c) 2002

Company:

Version:
1.0
Author:
unascribed

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
TargetPortRewriteVariableHandler(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

TargetPortRewriteVariableHandler

public TargetPortRewriteVariableHandler(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

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.

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.

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


Copyright © 2000 Dummy Corp. All Rights Reserved.