|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.nitido.nimbox.http.HttpNimletInput
public class HttpNimletInput
The HttpNimletInput provide the HTTP implementation for the NimletInput interface.
The values in the HttpNimletInput are retrieved in the following priority:
Field Summary |
---|
Fields inherited from interface com.nitido.nim.NimletInput |
---|
UPLOADED_FILES |
Constructor Summary | |
---|---|
HttpNimletInput(HttpNimletContainer container,
java.util.HashMap inValues)
The default constructor. |
Method Summary | |
---|---|
java.util.Vector |
getAllValuesForKey(java.lang.String key)
This method returns all the values associated to the given key. |
java.lang.String[] |
getKeys()
This method returns all the available keys in the NimletInput. |
NimletContainer |
getNimletContainer()
This method returns a reference to the NimletContainer. |
java.lang.Object |
getValueForKey(java.lang.String key)
Get the first value associated to the given key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HttpNimletInput(HttpNimletContainer container, java.util.HashMap inValues)
container
- The HttpNimletContainer created by the HttpNimletDriver.inValues
- A HashMap of Vector objects that represents the input values
for this HttpNimletInput object. These input values comes
from the NimletOutput objects of the Nimlet that deploy the
current Nimlet. Therefore, this is usually an empty
HashMap if the Nimlet is the first one being called by the
HttpNimletDriver. However, it must never be null.
Moreover, this NimletInput object will use the HashMap
object as is without cloning it. A developer must ensure
other part of the system will not modify it accidentally.Method Detail |
---|
public java.lang.Object getValueForKey(java.lang.String key)
NimletInput
getValueForKey
in interface NimletInput
key
- The key associated to the requested value. This parameter
cannot be null.
public java.util.Vector getAllValuesForKey(java.lang.String key)
NimletInput
getAllValuesForKey
in interface NimletInput
key
- The key associated to the requested values. This parameter
cannot be null.
public java.lang.String[] getKeys()
NimletInput
getKeys
in interface NimletInput
public NimletContainer getNimletContainer()
NimletInput
getNimletContainer
in interface NimletInput
|
Nitido NiM 2.5 Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1999-2009 Nitido Inc. Proprietary and Confidential. All Rights Reserved.