deegree 2.5 (2011/06/29 09:44 build-8-official)

org.deegree.enterprise.control.ajax
Class WebEvent

java.lang.Object
  extended by java.util.EventObject
      extended by 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.
 
Method Summary
 java.lang.String getAbsolutePath(java.lang.String relativePath)
           
 java.lang.Object getAsBean()
           
 java.lang.String getCharacterEncoding()
           
 java.lang.String getDocumentPath()
           
 java.util.Map getParameter()
           
 RequestUser getRequestUser()
           
 javax.servlet.http.HttpSession getSession()
           
 java.lang.String toString()
           
 
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
 

Field Detail

bean

protected java.lang.String bean
Constructor Detail

WebEvent

WebEvent(javax.servlet.ServletContext servletContext,
         javax.servlet.http.HttpServletRequest request,
         java.lang.String bean)
Creates a new WebEvent object.

Parameters:
servletContext -
request -
bean -
Method Detail

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

deegree 2.5 (2011/06/29 09:44 build-8-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org