com.atlassian.jira.jelly
Class JellyHttpRequest

java.lang.Object
  extended bycom.atlassian.jira.jelly.JellyHttpRequest

public class JellyHttpRequest
extends java.lang.Object


Constructor Summary
JellyHttpRequest(java.util.HashMap session)
           
 
Method Summary
 java.lang.Object getAttribute(java.lang.String name)
           
 java.util.Enumeration getAttributeNames()
           
 java.lang.String getAuthType()
           
 java.lang.String getCharacterEncoding()
           
 int getContentLength()
           
 java.lang.String getContentType()
           
 java.lang.String getContextPath()
           
 Cookie[] getCookies()
           
 long getDateHeader(java.lang.String s)
           
 java.lang.String getHeader(java.lang.String s)
           
 java.util.Enumeration getHeaderNames()
           
 java.util.Enumeration getHeaders(java.lang.String s)
           
 ServletInputStream getInputStream()
           
 int getIntHeader(java.lang.String s)
           
 java.util.Locale getLocale()
           
 java.util.Enumeration getLocales()
           
 java.lang.String getMethod()
           
 java.lang.String getParameter(java.lang.String key)
           
 java.util.Map getParameterMap()
           
 java.util.Enumeration getParameterNames()
           
 java.lang.String[] getParameterValues(java.lang.String name)
           
 java.lang.String getPathInfo()
           
 java.lang.String getPathTranslated()
           
 java.lang.String getProtocol()
           
 java.lang.String getQueryString()
           
 java.io.BufferedReader getReader()
           
 java.lang.String getRealPath(java.lang.String s)
           
 java.lang.String getRemoteAddr()
           
 java.lang.String getRemoteHost()
           
 java.lang.String getRemoteUser()
           
 RequestDispatcher getRequestDispatcher(java.lang.String s)
           
 java.lang.String getRequestedSessionId()
           
 java.lang.String getRequestURI()
           
 java.lang.StringBuffer getRequestURL()
           
 java.lang.String getScheme()
           
 java.lang.String getServerName()
           
 int getServerPort()
           
 java.lang.String getServletPath()
           
 HttpSession getSession()
           
 HttpSession getSession(boolean b)
           
 java.security.Principal getUserPrincipal()
           
 boolean isRequestedSessionIdFromCookie()
           
 boolean isRequestedSessionIdFromUrl()
           
 boolean isRequestedSessionIdFromURL()
           
 boolean isRequestedSessionIdValid()
           
 boolean isSecure()
           
 boolean isUserInRole(java.lang.String s)
           
 void removeAttribute(java.lang.String key)
           
 void setAttribute(java.lang.String key, java.lang.Object value)
           
 void setCharacterEncoding(java.lang.String s)
           
 void setRemoteUser(java.lang.String user)
           
 void setUserPrincipal(java.security.Principal user)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JellyHttpRequest

public JellyHttpRequest(java.util.HashMap session)
Method Detail

getSession

public HttpSession getSession()

getLocale

public java.util.Locale getLocale()

getParameter

public java.lang.String getParameter(java.lang.String key)

getParameterMap

public java.util.Map getParameterMap()

getAuthType

public java.lang.String getAuthType()

getCookies

public Cookie[] getCookies()

getDateHeader

public long getDateHeader(java.lang.String s)

getHeader

public java.lang.String getHeader(java.lang.String s)

getHeaders

public java.util.Enumeration getHeaders(java.lang.String s)

getHeaderNames

public java.util.Enumeration getHeaderNames()

getIntHeader

public int getIntHeader(java.lang.String s)

getMethod

public java.lang.String getMethod()

getPathInfo

public java.lang.String getPathInfo()

getPathTranslated

public java.lang.String getPathTranslated()

getContextPath

public java.lang.String getContextPath()

getQueryString

public java.lang.String getQueryString()

getRemoteUser

public java.lang.String getRemoteUser()

setRemoteUser

public void setRemoteUser(java.lang.String user)

isUserInRole

public boolean isUserInRole(java.lang.String s)

getUserPrincipal

public java.security.Principal getUserPrincipal()

setUserPrincipal

public void setUserPrincipal(java.security.Principal user)

getRequestedSessionId

public java.lang.String getRequestedSessionId()

getRequestURI

public java.lang.String getRequestURI()

getRequestURL

public java.lang.StringBuffer getRequestURL()

getServletPath

public java.lang.String getServletPath()

getSession

public HttpSession getSession(boolean b)

isRequestedSessionIdValid

public boolean isRequestedSessionIdValid()

isRequestedSessionIdFromCookie

public boolean isRequestedSessionIdFromCookie()

isRequestedSessionIdFromURL

public boolean isRequestedSessionIdFromURL()

isRequestedSessionIdFromUrl

public boolean isRequestedSessionIdFromUrl()

getLocales

public java.util.Enumeration getLocales()

isSecure

public boolean isSecure()

getRequestDispatcher

public RequestDispatcher getRequestDispatcher(java.lang.String s)

getRealPath

public java.lang.String getRealPath(java.lang.String s)

getAttribute

public java.lang.Object getAttribute(java.lang.String name)

getAttributeNames

public java.util.Enumeration getAttributeNames()

getCharacterEncoding

public java.lang.String getCharacterEncoding()

setCharacterEncoding

public void setCharacterEncoding(java.lang.String s)
                          throws java.io.UnsupportedEncodingException
Throws:
java.io.UnsupportedEncodingException

getContentLength

public int getContentLength()

getContentType

public java.lang.String getContentType()

getInputStream

public ServletInputStream getInputStream()
                                  throws java.io.IOException
Throws:
java.io.IOException

getParameterNames

public java.util.Enumeration getParameterNames()

getParameterValues

public java.lang.String[] getParameterValues(java.lang.String name)

getProtocol

public java.lang.String getProtocol()

getScheme

public java.lang.String getScheme()

getServerName

public java.lang.String getServerName()

getServerPort

public int getServerPort()

getReader

public java.io.BufferedReader getReader()
                                 throws java.io.IOException
Throws:
java.io.IOException

getRemoteAddr

public java.lang.String getRemoteAddr()

getRemoteHost

public java.lang.String getRemoteHost()

setAttribute

public void setAttribute(java.lang.String key,
                         java.lang.Object value)

removeAttribute

public void removeAttribute(java.lang.String key)