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) |
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.
|
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
ApiException
public javax.ws.rs.core.Response callSyncGateway(RequestMessageBuilder input, boolean evaluateEtag) throws ApiException
ApiException
public 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.ApplicationContextAware
org.springframework.beans.BeansException
public final void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
protected <T> T getProperty(String key, T defaultValue)
protected final boolean allowDeprecatedEndpoints()
protected org.apache.cxf.jaxrs.JAXRSServiceFactoryBean getJAXRSService()
protected String getUserPrincipalName()
Copyright © 2023 Frank!Framework. All rights reserved.