com.atlassian.jira.util.velocity
Class RequestContextParameterHolderImpl

java.lang.Object
  extended by com.atlassian.jira.util.velocity.RequestContextParameterHolderImpl
All Implemented Interfaces:
RequestContextParameterHolder

public class RequestContextParameterHolderImpl
extends Object
implements RequestContextParameterHolder

Default implementation of the RequestContextParameterHolder. Parameters will return null if the HttpRequest used to construct this class is null.


Constructor Summary
RequestContextParameterHolderImpl(javax.servlet.http.HttpServletRequest request)
           
 
Method Summary
 Map getParameterMap()
          Returns the same as ServletRequest.getParameterMap()
 String getQueryString()
          Returns the same as HttpServletRequest.getQueryString() )}
 String getRequestURL()
          Returns the same as HttpServletRequest.getRequestURL() )}
 String getServletPath()
          Returns the same as HttpServletRequest.getServletPath()
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestContextParameterHolderImpl

public RequestContextParameterHolderImpl(javax.servlet.http.HttpServletRequest request)
Method Detail

getServletPath

public String getServletPath()
Description copied from interface: RequestContextParameterHolder
Returns the same as HttpServletRequest.getServletPath()

Specified by:
getServletPath in interface RequestContextParameterHolder
Returns:
ServletPath

getRequestURL

public String getRequestURL()
Description copied from interface: RequestContextParameterHolder
Returns the same as HttpServletRequest.getRequestURL() )}

Specified by:
getRequestURL in interface RequestContextParameterHolder
Returns:
requestURL

getQueryString

public String getQueryString()
Description copied from interface: RequestContextParameterHolder
Returns the same as HttpServletRequest.getQueryString() )}

Specified by:
getQueryString in interface RequestContextParameterHolder
Returns:
queryString

getParameterMap

public Map getParameterMap()
Description copied from interface: RequestContextParameterHolder
Returns the same as ServletRequest.getParameterMap()

Specified by:
getParameterMap in interface RequestContextParameterHolder
Returns:
the same as ServletRequest.getParameterMap(), never null, unmodifiable


Copyright © 2002-2014 Atlassian. All Rights Reserved.