java.lang.Object | |
↳ | com.atlassian.jira.util.velocity.MockVelocityRequestContextFactory |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Update the thread-local storage with the given velocityRequestContext.
| |||||||||||
Resets the thread local storage as if no request has occurred, effectively nulling out the current
thread local velocity request context.
| |||||||||||
Constructs a map with a number of common parameters used by velocity templates.
| |||||||||||
Get the request context.
| |||||||||||
Run the passed function in an environment where JIRA's configured
baseURL is always used. | |||||||||||
Update the thread-local storage with the given request information.
| |||||||||||
Update the thread-local storage with the given request information.
| |||||||||||
Update the thread-local storage with the given velocityRequestContext.
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||||||||||||||||||
![]()
|
Update the thread-local storage with the given velocityRequestContext.
velocityRequestContext | The velocity request context to store. |
---|
Resets the thread local storage as if no request has occurred, effectively nulling out the current thread local velocity request context.
Constructs a map with a number of common parameters used by velocity templates.
startingParams | Map of parameters that may be used to override any of the parameters set here. |
---|---|
authenticationContext | JiraAuthenticationContext |
Get the request context.
Run the passed function in an environment where JIRA's configured baseURL
is always used. This basically
makes the passed function ignore any smart baseURL
that can be generated from the request associated
with the calling thread.
input | input to pass to the function. |
---|---|
runnable | the function to execute. |
Update the thread-local storage with the given request information.
request | The http request context to store. |
---|
Update the thread-local storage with the given request information.
baseUrl | of the request. |
---|---|
request | The http request context to store. |
Update the thread-local storage with the given velocityRequestContext.
velocityRequestContext | The velocity request context to store. |
---|