Class RefreshRoutesEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.cloud.gateway.event.RefreshRoutesEvent
- All Implemented Interfaces:
Serializable
public class RefreshRoutesEvent
extends org.springframework.context.ApplicationEvent
- Author:
- Spencer Gibb
- See Also:
-
Field Summary
Fields inherited from class EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionRefreshRoutesEvent(Object source) Create a new ApplicationEvent.RefreshRoutesEvent(Object source, Map<String, Object> metadata) Create a new ApplicationEvent that should refresh filtering bymetadata. -
Method Summary
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class EventObject
getSource, toString
-
Constructor Details
-
RefreshRoutesEvent
Create a new ApplicationEvent.- Parameters:
source- the object on which the event initially occurred (nevernull)
-
RefreshRoutesEvent
Create a new ApplicationEvent that should refresh filtering bymetadata.- Parameters:
source- the object on which the event initially occurred (nevernull)metadata- map of metadata the routes should match ({code null} is considered a global refresh)
-
-
Method Details
-
isScoped
public boolean isScoped() -
getMetadata
-