org.deegree.enterprise.control.ajax
Class WebEvent
java.lang.Object
java.util.EventObject
org.deegree.enterprise.control.ajax.WebEvent
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- JSONEvent
public class WebEvent
- extends java.util.EventObject
- Version:
- $Revision: 21672 $
- Author:
- Andreas Poth
- See Also:
- Serialized Form
Field Summary |
protected java.lang.String |
bean
|
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
WebEvent(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
java.lang.String bean)
Creates a new WebEvent object. |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
bean
protected java.lang.String bean
WebEvent
WebEvent(javax.servlet.ServletContext servletContext,
javax.servlet.http.HttpServletRequest request,
java.lang.String bean)
- Creates a new WebEvent object.
- Parameters:
servletContext
- request
- bean
-
getParameter
public java.util.Map getParameter()
- Returns:
- the parameters
getDocumentPath
public java.lang.String getDocumentPath()
- Returns:
- the document path
getRequestUser
public RequestUser getRequestUser()
- Returns:
- the request user
getCharacterEncoding
public java.lang.String getCharacterEncoding()
- Returns:
- requests character encoding
getSession
public javax.servlet.http.HttpSession getSession()
- Returns:
- session assigned to event
getAbsolutePath
public java.lang.String getAbsolutePath(java.lang.String relativePath)
- Parameters:
relativePath
-
- Returns:
- absolute path based on servlet context
getAsBean
public java.lang.Object getAsBean()
throws java.lang.Exception
- Returns:
- request parameter mapped to a bean class
- Throws:
java.lang.Exception
toString
public java.lang.String toString()
- Overrides:
toString
in class java.util.EventObject
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org