public abstract class FrankApiBase extends Object implements org.springframework.context.ApplicationContextAware, org.springframework.beans.factory.InitializingBean
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.logging.log4j.Logger |
log |
protected javax.ws.rs.core.SecurityContext |
securityContext |
protected javax.servlet.ServletConfig |
servletConfig |
protected javax.servlet.http.HttpServletRequest |
servletRequest |
protected javax.ws.rs.core.UriInfo |
uriInfo |
| Constructor and Description |
|---|
FrankApiBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected boolean |
allowDeprecatedEndpoints() |
javax.ws.rs.core.Response |
callAsyncGateway(RequestMessageBuilder input) |
javax.ws.rs.core.Response |
callSyncGateway(RequestMessageBuilder input) |
javax.ws.rs.core.Response |
callSyncGateway(RequestMessageBuilder input,
boolean evaluateEtag) |
org.springframework.context.ApplicationContext |
getApplicationContext() |
org.springframework.core.env.Environment |
getEnvironment() |
protected OutboundGateway |
getGateway() |
protected org.apache.cxf.jaxrs.JAXRSServiceFactoryBean |
getJAXRSService() |
protected <T> T |
getProperty(String key,
T defaultValue)
Get a property from the Spring Environment.
|
javax.ws.rs.core.SecurityContext |
getSecurityContext() |
javax.servlet.http.HttpServletRequest |
getServletRequest() |
javax.ws.rs.core.UriInfo |
getUriInfo() |
protected String |
getUserPrincipalName() |
protected org.springframework.messaging.Message<?> |
sendSyncMessage(RequestMessageBuilder input) |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
@Context protected javax.servlet.ServletConfig servletConfig
@Context protected javax.ws.rs.core.SecurityContext securityContext
@Context protected javax.servlet.http.HttpServletRequest servletRequest
@Context protected javax.ws.rs.core.UriInfo uriInfo
protected org.apache.logging.log4j.Logger log
protected final OutboundGateway getGateway()
@Nonnull protected org.springframework.messaging.Message<?> sendSyncMessage(RequestMessageBuilder input)
public javax.ws.rs.core.Response callSyncGateway(RequestMessageBuilder input) throws ApiException
ApiExceptionpublic javax.ws.rs.core.Response callSyncGateway(RequestMessageBuilder input, boolean evaluateEtag) throws ApiException
ApiExceptionpublic javax.ws.rs.core.Response callAsyncGateway(RequestMessageBuilder input)
public final void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionpublic final void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionprotected <T> T getProperty(String key, T defaultValue)
protected final boolean allowDeprecatedEndpoints()
protected org.apache.cxf.jaxrs.JAXRSServiceFactoryBean getJAXRSService()
protected String getUserPrincipalName()
public javax.ws.rs.core.SecurityContext getSecurityContext()
public javax.servlet.http.HttpServletRequest getServletRequest()
public org.springframework.context.ApplicationContext getApplicationContext()
public javax.ws.rs.core.UriInfo getUriInfo()
public org.springframework.core.env.Environment getEnvironment()
Copyright © 2023 Frank!Framework. All rights reserved.