public class CommandBusOnServer extends Object implements RequestDelegationService
CommandService requests.| Modifier and Type | Field and Description |
|---|---|
static String |
COMMAND_EVENT_BUS_MAPPING |
static String |
COMMAND_EVENT_BUS_PATH |
| Constructor and Description |
|---|
CommandBusOnServer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canDelegate(javax.servlet.http.HttpServletRequest request)
Method to decide if delegate can handle the request
|
void |
delegate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain)
Actual request processing for delegate.
|
static String |
getCurrentCall() |
static ConcurrentHashMap<String,CommandPayload> |
getEvents() |
public static final String COMMAND_EVENT_BUS_PATH
public static final String COMMAND_EVENT_BUS_MAPPING
public boolean canDelegate(javax.servlet.http.HttpServletRequest request)
RequestDelegationServiceMethod to decide if delegate can handle the request
canDelegate in interface RequestDelegationServicerequest - the incoming HttpServletRequest.true if delegate can handle the request. false otherwise.public void delegate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain filterChain)
RequestDelegationServiceActual request processing for delegate.
This method will be called only if RequestDelegationService.canDelegate(HttpServletRequest) returned
true
delegate in interface RequestDelegationServicerequest - the incoming HttpServletRequest.response - the HttpServletResponse to send.filterChain - the filter chainpublic static ConcurrentHashMap<String,CommandPayload> getEvents()
public static String getCurrentCall()
Copyright © 2019 JBoss by Red Hat. All rights reserved.