@Component @Scope(value="singleton") public class ServletDispatcher extends org.apache.cxf.transport.servlet.CXFServlet implements DynamicRegistration.ServletWithParameters
DynamicRegistration.Servlet, DynamicRegistration.ServletWithParameters
ALL_IBIS_ROLES, ALL_IBIS_USER_ROLES, IBIS_FULL_SERVICE_ACCESS_ROLES
Constructor and Description |
---|
ServletDispatcher() |
Modifier and Type | Method and Description |
---|---|
String[] |
getAccessGrantingRoles()
The default authorization roles giving access to the
Servlet , or null to disable. |
String |
getName()
Name of the to-be implemented class
|
Map<String,String> |
getParameters()
Servlet specific init parameters |
String |
getUrlMapping()
The URL the
Servlet should be mapped to. |
void |
init(javax.servlet.ServletConfig servletConfig) |
void |
invoke(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
boolean |
isEnabled() |
int |
loadOnStartUp()
Order in which to automatically instantiate and load the class.
0 to let the application server determine, -1 to disable
This value may be overridden by setting property servlet.servlet-name.loadOnStartup |
void |
onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event) |
void |
setBus(org.apache.cxf.Bus bus) |
addListener, destroyBus, loadBus
createServletController, destroy, doFilter, finalizeServletInit, getBus, getDestinationRegistryFromBusOrDefault, initClassLoader, registerServletContextResolver
checkXForwardedHeaders, doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getResourceAsStream, getStaticResourceContentType, handleRequest, init, parseListSequence, parseMapSequence, redirect, serveStaticContent, service
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public void init(javax.servlet.ServletConfig servletConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class org.apache.cxf.transport.servlet.CXFNonSpringServlet
javax.servlet.ServletException
public void invoke(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException
invoke
in class org.apache.cxf.transport.servlet.CXFNonSpringServlet
javax.servlet.ServletException
public void setBus(org.apache.cxf.Bus bus)
setBus
in class org.apache.cxf.transport.servlet.CXFNonSpringServlet
public void onApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
onApplicationEvent
in interface org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
onApplicationEvent
in class org.apache.cxf.transport.servlet.CXFServlet
public String getName()
DynamicRegistration
getName
in interface DynamicRegistration
public int loadOnStartUp()
DynamicRegistration
0
to let the application server determine, -1
to disable
This value may be overridden by setting property servlet.servlet-name.loadOnStartup
loadOnStartUp
in interface DynamicRegistration
public boolean isEnabled()
isEnabled
in interface DynamicRegistration.Servlet
public String[] getAccessGrantingRoles()
DynamicRegistration.Servlet
Servlet
, or null
to disable.
This value may be overridden by setting property servlet.servlet-name.securityRoles
to the roles that should be granted access.
see ServletManager for more information.getAccessGrantingRoles
in interface DynamicRegistration.Servlet
public String getUrlMapping()
DynamicRegistration.Servlet
Servlet
should be mapped to.
This value may be overridden by setting property servlet.servlet-name.urlMapping
to change path the servlet listens togetUrlMapping
in interface DynamicRegistration.Servlet
public Map<String,String> getParameters()
DynamicRegistration.ServletWithParameters
Servlet
specific init parametersgetParameters
in interface DynamicRegistration.ServletWithParameters
Copyright © 2023 Frank!Framework. All rights reserved.