Package org.togglz.spring.web
Annotation Interface FeaturesAreActive
Annotate a
Controller or a controller method to only activate it when
all the features given in the features() attribute are active.
If the features are not activated, a response with the status code given by the errorResponseStatus()
attribute is generated (HttpStatus.NOT_FOUND (404) by default).
- Author:
- ractive, m-schroeer
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionorg.springframework.http.HttpStatus -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.springframework.http.HttpStatus
-
Field Details
-
DEFAULT_ERROR_RESPONSE_STATUS
static final org.springframework.http.HttpStatus DEFAULT_ERROR_RESPONSE_STATUS
-
-
Element Details
-
features
String[] features
-
-
-
errorResponseStatus
org.springframework.http.HttpStatus errorResponseStatus- Default:
- NOT_FOUND
-