public class

HttpContext

extends Object
implements HttpContext
java.lang.Object
   ↳ com.atlassian.sal.jira.web.context.HttpContext

Class Overview

JIRA SAL implementation of the HttpContext, this implementation delegates to the JIRA internal ExecutingHttpRequest class.

Summary

Public Constructors
HttpContext()
Public Methods
HttpServletRequest getRequest()
HttpServletResponse getResponse()
HttpSession getSession(boolean create)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.sal.api.web.context.HttpContext

Public Constructors

public HttpContext ()

Public Methods

public HttpServletRequest getRequest ()

Returns
  • HttpServletRequest
See Also

public HttpServletResponse getResponse ()

Returns
  • HttpServletResponse
See Also

public HttpSession getSession (boolean create)

Parameters
create should be true to create a new session for the active request or false to return null if there is no current session
Returns
  • the HttpSession associated with this request or null if create is false and the request has no session, or if there is no active request