Package org.apache.syncope.sra
Class SyncopeSRAWebExceptionHandler
java.lang.Object
org.apache.syncope.sra.SyncopeSRAWebExceptionHandler
- All Implemented Interfaces:
EventListener
,ApplicationListener<org.springframework.cloud.gateway.event.RefreshRoutesEvent>
,WebExceptionHandler
@Order(-2)
public class SyncopeSRAWebExceptionHandler
extends Object
implements WebExceptionHandler, ApplicationListener<org.springframework.cloud.gateway.event.RefreshRoutesEvent>
-
Constructor Summary
ConstructorDescriptionSyncopeSRAWebExceptionHandler
(RouteProvider routeProvider, SRAProperties props) -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono
<Void> handle
(ServerWebExchange exchange, Throwable throwable) void
onApplicationEvent
(org.springframework.cloud.gateway.event.RefreshRoutesEvent event) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
Constructor Details
-
SyncopeSRAWebExceptionHandler
-
-
Method Details
-
onApplicationEvent
public void onApplicationEvent(org.springframework.cloud.gateway.event.RefreshRoutesEvent event) - Specified by:
onApplicationEvent
in interfaceApplicationListener<org.springframework.cloud.gateway.event.RefreshRoutesEvent>
-
handle
- Specified by:
handle
in interfaceWebExceptionHandler
-