com.atlassian.confluence.web.context.HttpContext |
Known Indirect Subclasses
|
Provides access to the key objects provided by the servlet API when processing an HTTP request.
Use this interface rather than making static calls to classes like ServletActionContext directly.Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the active HTTP request or null if one cannot be found.
| |||||||||||
Returns the active HTTP response or null if one cannot be found.
| |||||||||||
Returns the session associated with the active request or, if there is no current session and create is true,
returns a new session.
|
Returns the active HTTP request or null if one cannot be found.
Returns the active HTTP response or null if one cannot be found.
Returns the session associated with the active request or, if there is no current session and create is true, returns a new session.
create | should be true to create a new session for the current request or false to return null if there is no current session |
---|