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
ConstructorsConstructorDescriptionSyncopeSRAWebExceptionHandler(RouteProvider routeProvider, SRAProperties props) -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Void> handle(ServerWebExchange exchange, Throwable throwable) voidonApplicationEvent(org.springframework.cloud.gateway.event.RefreshRoutesEvent event) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
onApplicationEventin interfaceApplicationListener<org.springframework.cloud.gateway.event.RefreshRoutesEvent>
-
handle
- Specified by:
handlein interfaceWebExceptionHandler
-