org.millstone.webadapter
Class HttpVariableMap

java.lang.Object
  |
  +--org.millstone.webadapter.HttpVariableMap

public class HttpVariableMap
extends java.lang.Object

Class implementing the MillStone WebAdapter variable mappings.

Since:
3.0
Version:
3.0.3
Author:
IT Mill Ltd.

Constructor Summary
HttpVariableMap()
           
 
Method Summary
 java.util.Map handleVariables(javax.servlet.http.HttpServletRequest req)
          Handle all variable changes in this request.
 java.lang.String registerVariable(java.lang.String name, java.lang.Class type, java.lang.Object value, VariableOwner owner)
          Register a new variable.
 void unregisterVariable(java.lang.String name, VariableOwner owner)
          Unregisters a variable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpVariableMap

public HttpVariableMap()
Method Detail

registerVariable

public java.lang.String registerVariable(java.lang.String name,
                                         java.lang.Class type,
                                         java.lang.Object value,
                                         VariableOwner owner)
Register a new variable.

Returns:
id to assigned for this variable.

unregisterVariable

public void unregisterVariable(java.lang.String name,
                               VariableOwner owner)
Unregisters a variable.


handleVariables

public java.util.Map handleVariables(javax.servlet.http.HttpServletRequest req)
                              throws java.io.IOException
Handle all variable changes in this request.

Parameters:
req - Http request to handle
Returns:
Name to Value[] mapping of unhandled variables
java.io.IOException


Copyright © 2000,2001,2002 IT Mill Ltd. All Rights Reserved.