@Service(value="runtimeInfoService#rest") public class DefaultRuntimeInfoService extends Object implements RuntimeInfoService
Modifier and Type | Field and Description |
---|---|
private ArchivaRuntimeInfo |
archivaRuntimeInfo |
protected javax.servlet.http.HttpServletRequest |
httpServletRequest |
private org.slf4j.Logger |
i18nLogger |
private RedbackRuntimeConfigurationService |
redbackRuntimeConfigurationService |
Constructor and Description |
---|
DefaultRuntimeInfoService(ArchivaRuntimeInfo archivaRuntimeInfo) |
Modifier and Type | Method and Description |
---|---|
ApplicationRuntimeInfo |
getApplicationRuntimeInfo(String locale) |
protected String |
getBaseUrl(javax.servlet.http.HttpServletRequest req) |
Boolean |
logMissingI18n(String key) |
private org.slf4j.Logger i18nLogger
private ArchivaRuntimeInfo archivaRuntimeInfo
@Inject private RedbackRuntimeConfigurationService redbackRuntimeConfigurationService
@Context protected javax.servlet.http.HttpServletRequest httpServletRequest
@Inject public DefaultRuntimeInfoService(ArchivaRuntimeInfo archivaRuntimeInfo)
public ApplicationRuntimeInfo getApplicationRuntimeInfo(String locale) throws ArchivaRestServiceException
getApplicationRuntimeInfo
in interface RuntimeInfoService
ArchivaRestServiceException
protected String getBaseUrl(javax.servlet.http.HttpServletRequest req)
public Boolean logMissingI18n(String key)
logMissingI18n
in interface RuntimeInfoService
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.