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
Constructors Constructor Description SyncopeSRAWebExceptionHandler(RouteProvider routeProvider, SRAProperties props)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Mono<Void>
handle(ServerWebExchange exchange, Throwable throwable)
void
onApplicationEvent(org.springframework.cloud.gateway.event.RefreshRoutesEvent event)
-
-
-
Constructor Detail
-
SyncopeSRAWebExceptionHandler
public SyncopeSRAWebExceptionHandler(RouteProvider routeProvider, SRAProperties props)
-
-
Method Detail
-
onApplicationEvent
public void onApplicationEvent(org.springframework.cloud.gateway.event.RefreshRoutesEvent event)
- Specified by:
onApplicationEvent
in interfaceApplicationListener<org.springframework.cloud.gateway.event.RefreshRoutesEvent>
-
handle
public reactor.core.publisher.Mono<Void> handle(ServerWebExchange exchange, Throwable throwable)
- Specified by:
handle
in interfaceWebExceptionHandler
-
-