@Component
public class FeatureHandler
extends org.springframework.web.servlet.handler.HandlerInterceptorAdapter
| Constructor and Description |
|---|
FeatureHandler(FeatureManager featureManager,
FeatureManagerSnapshot featureManagerSnapshot,
FeatureManagementConfigProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
preHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler)
Checks if the endpoint being called has the @FeatureOn annotation.
|
public FeatureHandler(FeatureManager featureManager, FeatureManagerSnapshot featureManagerSnapshot, FeatureManagementConfigProperties properties)
public boolean preHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler)
preHandle in interface org.springframework.web.servlet.HandlerInterceptorpreHandle in class org.springframework.web.servlet.handler.HandlerInterceptorAdapterCopyright © 2019 Pivotal Software, Inc.. All rights reserved.