|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.EventObject
echopoint.externalevent.ExternalEvent
public class ExternalEvent
ExternalEvent represents an event that
has been raised externally to the Echo
web application.
Modified by Mikael Soderman 2009-04-28
| Field Summary |
|---|
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
ExternalEvent(Object source,
Map eventParameters)
Creates an ExternalEvent. |
|
| Method Summary | |
|---|---|
String |
getParameter(String paramName)
Returns the value of an ExternalEvent request parameter as a String, or null if the parameter does not exist. |
Map |
getParameterMap()
Returns the Map of web request parameters that where encountered during this ExternalEvent. |
String[] |
getParameterNames()
Returns a String[] containing the names of the parameters contained in this ExternalEvent. |
String[] |
getParameterValues(String paramName)
Returns an array of String objects containing all of the values the given ExternalEvent parameter has, or null if the parameter does not exist. |
| Methods inherited from class java.util.EventObject |
|---|
getSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ExternalEvent(Object source,
Map eventParameters)
source - the source of the event| Method Detail |
|---|
public Map getParameterMap()
public String getParameter(String paramName)
If the parameter might have more than one value, use getParameterValues(String).
If you use this method with a multivalued parameter, the value returned is equal to the first value in the array returned by getParameterValues().
paramName - - the name of the parameter to retrieve
public String[] getParameterValues(String paramName)
If the parameter has a single value, the array has a length of 1.
paramName - - the name of the parameter to retrieve
public String[] getParameterNames()
|
EchoPoint API - 3.0.0b5 App Webcontainer |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||