public class I18nResource extends AbstractResource
authContext, uriInfo, userAccessor
Constructor and Description |
---|
I18nResource(UserAccessor userAccessor,
com.atlassian.plugin.PluginAccessor pluginAccessor,
LocaleManager localeManager,
I18NBeanFactory i18NBeanFactory,
HttpContext httpContext,
SpacePermissionManager spacePermissionManager) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
get(Set<String> pluginKeys,
boolean rawValue)
Returns the text for the given plugin keys.
|
javax.ws.rs.core.Response |
getI18n(String pluginKey,
boolean rawValue)
Returns the text for the given plugin key.
|
createRequestContext, getAnonymousUserUriBuilder, getAttachmentUriBuilder, getContentUriBuilder, getCurrentUser, getMissingUserUriBuilder, getSpaceUriBuilder, getUserUriBuilder
public I18nResource(UserAccessor userAccessor, com.atlassian.plugin.PluginAccessor pluginAccessor, LocaleManager localeManager, I18NBeanFactory i18NBeanFactory, HttpContext httpContext, SpacePermissionManager spacePermissionManager)
public javax.ws.rs.core.Response get(Set<String> pluginKeys, boolean rawValue)
public javax.ws.rs.core.Response getI18n(String pluginKey, boolean rawValue)
pluginKey
- The plugin key as it is defined in the atlassian-plugin.xml.Copyright © 2003–2020 Atlassian. All rights reserved.