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 java.lang.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
 java.util.Map getParameterMap()
          Returns the same as ServletRequest.getParameterMap()
 java.lang.String getQueryString()
          Returns the same as HttpServletRequest.getQueryString() )}
 java.lang.String getRequestURL()
          Returns the same as HttpServletRequest.getRequestURL() )}
 java.lang.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 java.lang.String getServletPath()
Description copied from interface: RequestContextParameterHolder
Returns the same as HttpServletRequest.getServletPath()

Specified by:
getServletPath in interface RequestContextParameterHolder
Returns:
ServletPath

getRequestURL

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

Specified by:
getRequestURL in interface RequestContextParameterHolder
Returns:
requestURL

getQueryString

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

Specified by:
getQueryString in interface RequestContextParameterHolder
Returns:
queryString

getParameterMap

public java.util.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-2010 Atlassian. All Rights Reserved.