com.opensymphony.webwork.dispatcher.mapper
Class ActionMappingEx

java.lang.Object
  extended by com.opensymphony.webwork.dispatcher.mapper.ActionMapping
      extended by com.opensymphony.webwork.dispatcher.mapper.ActionMappingEx

public class ActionMappingEx
extends ActionMapping

An extension of ActionMapping including arguments like :-

such that ActionMapper's implementation could used it to generate url through ActionMapper.getUriFromActionMapping(ActionMapping).

Version:
$Date$ $Id$
Author:
tmjee

Constructor Summary
ActionMappingEx(String name, String namespace, String method, Map params, String scheme, boolean includeContext, boolean encodeResult, boolean escapeAmp, HttpServletRequest request, HttpServletResponse response)
           
 
Method Summary
 HttpServletRequest getRequest()
          Get HttpServletRequest.
 HttpServletResponse getResponse()
          Get HttpServletResponse.
 String getScheme()
          Get request scheme.
 boolean isEncodeResult()
          Do we need to encode result?
 boolean isEscapeAmp()
          Do we need to escape the ampersand?
 boolean isIncludeContext()
          Do we need to include context?
 
Methods inherited from class com.opensymphony.webwork.dispatcher.mapper.ActionMapping
getMethod, getName, getNamespace, getParams, getResult, setMethod, setName, setNamespace, setParams, setResult
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionMappingEx

public ActionMappingEx(String name,
                       String namespace,
                       String method,
                       Map params,
                       String scheme,
                       boolean includeContext,
                       boolean encodeResult,
                       boolean escapeAmp,
                       HttpServletRequest request,
                       HttpServletResponse response)
Method Detail

getScheme

public String getScheme()
Get request scheme.

Returns:
String

isIncludeContext

public boolean isIncludeContext()
Do we need to include context?

Returns:
boolean

isEncodeResult

public boolean isEncodeResult()
Do we need to encode result?

Returns:
boolean

getRequest

public HttpServletRequest getRequest()
Get HttpServletRequest.

Returns:
HttpServletRequest

getResponse

public HttpServletResponse getResponse()
Get HttpServletResponse.

Returns:
HttpServletResponse.

isEscapeAmp

public boolean isEscapeAmp()
Do we need to escape the ampersand?

Returns:
boolean.

WebWork Project Page