java.lang.Object | |
↳ | com.atlassian.jira.web.startup.StartupPageSupport |
Static infrastructure related to the startup page, including filtering, constants, redirects, etc.
The startup page is delivered to the end user if any HTTP requests are received during the bootstrap process.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Obtains a simple translation function for mapping message keys to translated text.
| |||||||||||
Returns
true if JIRA's servlet context is still initializing | |||||||||||
Returns
true if the provided request targets the startup page. | |||||||||||
Returns
true if the provided request targets the startup page. | |||||||||||
Redirects from the current page to
startup.jsp . | |||||||||||
Redirects from
startup.jsp to the original page. | |||||||||||
Used to mark JIRA as fully launched
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object |
Obtains a simple translation function for mapping message keys to translated text.
The locale is taken from the current request instead of the normal JIRA pattern of using
a setting from the user's preferences or application properties because during startup
those kinds of things may or may not be available, and changing what language is displayed
for the same user in the same web browser would be very surprising, especially since the
use of AJAX means that the same page would end up displaying more than one language at
a time. It seems safest to just guess the locale based on the Accept-Language
header from the user's browser, instead.
Note: These translations can only be provided by the special StartupPageSupport
properties files and cannot be added to or altered by plugins (including language packs).
What we build into JIRA is all you get.
request | the servlet request that wants a translated string |
---|
Returns true
if JIRA's servlet context is still initializing
true
if JIRA's servlet context is still initializing
Returns true
if the provided request targets the startup page.
request | the current request |
---|
true
if the provided request targets the startup page; false
if it is anything else.
Returns true
if the provided request targets the startup page.
request | the current request |
---|
true
if the provided request targets the startup page; false
if it is anything else.
Redirects from the current page to startup.jsp
.
request | the current HTTP request |
---|---|
response | the current HTTP response |
IOException | if something goes wrong when sending the redirect (probably because the client disconnected) |
---|
Redirects from startup.jsp
to the original page.
request | the current HTTP request |
---|---|
response | the current HTTP response |
IOException | if something goes wrong when sending the redirect (probably because the client disconnected) |
---|
Used to mark JIRA as fully launched