Index

A B C D E F G H I O P Q R S T 
All Classes and Interfaces|All Packages|Constant Field Values

A

AddressParameter() - Constructor for class org.togglz.servlet.activation.ClientIpActivationStrategy.AddressParameter
 

B

begin(HttpServletRequest, HttpServletResponse) - Method in interface org.togglz.servlet.spi.RequestListener
Called before the TogglzFilter processes a request.
begin(HttpServletRequest, HttpServletResponse) - Method in class org.togglz.servlet.util.HttpServletRequestHolderListener
 
bind(HttpServletRequest) - Static method in class org.togglz.servlet.util.HttpServletRequestHolder
Associate the request with the current thread.

C

CIDRUtils - Class in org.togglz.servlet.activation
A class that enables to get an IP range from CIDR specification.
CIDRUtils(String) - Constructor for class org.togglz.servlet.activation.CIDRUtils
 
ClientIpActivationStrategy - Class in org.togglz.servlet.activation
Activation strategy that will use the IP address of the client to decide if a feature is active or not.
ClientIpActivationStrategy() - Constructor for class org.togglz.servlet.activation.ClientIpActivationStrategy
 
ClientIpActivationStrategy.AddressParameter - Class in org.togglz.servlet.activation
 
CSRFToken - Class in org.togglz.servlet.spi
A CSRF token
CSRFToken(String, String) - Constructor for class org.togglz.servlet.spi.CSRFToken
 
CSRFTokenProvider - Interface in org.togglz.servlet.spi
This SPI can be implemented by modules to provide CSRF tokens that will be included in all forms.
CSRFTokenValidator - Interface in org.togglz.servlet.spi
 

D

destroy() - Method in class org.togglz.servlet.TogglzFilter
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class org.togglz.servlet.TogglzFilter
 

E

end(HttpServletRequest, HttpServletResponse) - Method in interface org.togglz.servlet.spi.RequestListener
Called after the TogglzFilter processed a request.
end(HttpServletRequest, HttpServletResponse) - Method in class org.togglz.servlet.util.HttpServletRequestHolderListener
 
EXECUTED - Static variable in class org.togglz.servlet.TogglzFilter
 

F

find(Class<E>, Object) - Method in class org.togglz.servlet.spi.ServletContextBeanFinder
 

G

get() - Static method in class org.togglz.servlet.util.HttpServletRequestHolder
 
getBroadcastAddress() - Method in class org.togglz.servlet.activation.CIDRUtils
 
getCurrentUser() - Method in class org.togglz.servlet.user.ServletUserProvider
 
getDescription() - Method in class org.togglz.servlet.activation.ClientIpActivationStrategy.AddressParameter
 
getId() - Method in class org.togglz.servlet.activation.ClientIpActivationStrategy
 
getId() - Method in class org.togglz.servlet.activation.HeaderActivationStrategy
 
getId() - Method in class org.togglz.servlet.activation.QueryParameterActivationStrategy
 
getId() - Method in class org.togglz.servlet.activation.ServerNameActivationStrategy
 
getLabel() - Method in class org.togglz.servlet.activation.ClientIpActivationStrategy.AddressParameter
 
getName() - Method in class org.togglz.servlet.activation.ClientIpActivationStrategy.AddressParameter
 
getName() - Method in class org.togglz.servlet.activation.ClientIpActivationStrategy
 
getName() - Method in class org.togglz.servlet.activation.HeaderActivationStrategy
 
getName() - Method in class org.togglz.servlet.activation.QueryParameterActivationStrategy
 
getName() - Method in class org.togglz.servlet.activation.ServerNameActivationStrategy
 
getName() - Method in class org.togglz.servlet.spi.CSRFToken
 
getNetworkAddress() - Method in class org.togglz.servlet.activation.CIDRUtils
 
getParameters() - Method in class org.togglz.servlet.activation.ClientIpActivationStrategy
 
getParameters() - Method in class org.togglz.servlet.activation.HeaderActivationStrategy
 
getParameters() - Method in class org.togglz.servlet.activation.QueryParameterActivationStrategy
 
getParameters() - Method in class org.togglz.servlet.activation.ServerNameActivationStrategy
 
getToken(HttpServletRequest) - Method in interface org.togglz.servlet.spi.CSRFTokenProvider
Returns the CSRF token or null if there is no token to include.
getValue() - Method in class org.togglz.servlet.spi.CSRFToken
 

H

HeaderActivationStrategy - Class in org.togglz.servlet.activation
 
HeaderActivationStrategy() - Constructor for class org.togglz.servlet.activation.HeaderActivationStrategy
 
HttpServletRequestHolder - Class in org.togglz.servlet.util
This class can be used to bind the HttpServletRequest to a thread local.
HttpServletRequestHolder() - Constructor for class org.togglz.servlet.util.HttpServletRequestHolder
 
HttpServletRequestHolderListener - Class in org.togglz.servlet.util
Implementation of RequestListener that is responsible for binding and releasing the current request for HttpServletRequestHolder.
HttpServletRequestHolderListener() - Constructor for class org.togglz.servlet.util.HttpServletRequestHolderListener
 

I

ID - Static variable in class org.togglz.servlet.activation.ClientIpActivationStrategy
 
init(FilterConfig) - Method in class org.togglz.servlet.TogglzFilter
 
isActive(FeatureState, FeatureUser) - Method in class org.togglz.servlet.activation.ClientIpActivationStrategy
 
isActive(FeatureState, FeatureUser) - Method in class org.togglz.servlet.activation.HeaderActivationStrategy
 
isActive(FeatureState, FeatureUser) - Method in class org.togglz.servlet.activation.QueryParameterActivationStrategy
 
isActive(FeatureState, FeatureUser) - Method in class org.togglz.servlet.activation.ServerNameActivationStrategy
 
isInRange(String) - Method in class org.togglz.servlet.activation.CIDRUtils
 
isInRange(InetAddress) - Method in class org.togglz.servlet.activation.CIDRUtils
 
isLargeText() - Method in class org.togglz.servlet.activation.ClientIpActivationStrategy.AddressParameter
 
isOptional() - Method in class org.togglz.servlet.activation.ClientIpActivationStrategy.AddressParameter
 
isTokenValid(HttpServletRequest) - Method in interface org.togglz.servlet.spi.CSRFTokenValidator
 
isValid(String) - Method in class org.togglz.servlet.activation.ClientIpActivationStrategy.AddressParameter
 

O

org.togglz.servlet - package org.togglz.servlet
 
org.togglz.servlet.activation - package org.togglz.servlet.activation
 
org.togglz.servlet.spi - package org.togglz.servlet.spi
 
org.togglz.servlet.user - package org.togglz.servlet.user
 
org.togglz.servlet.util - package org.togglz.servlet.util
 

P

PARAM_IPS - Static variable in class org.togglz.servlet.activation.ClientIpActivationStrategy
 
PARAM_URL_PARAMS - Static variable in class org.togglz.servlet.activation.QueryParameterActivationStrategy
 
priority() - Method in class org.togglz.servlet.util.HttpServletRequestHolderListener
 

Q

QueryParameterActivationStrategy - Class in org.togglz.servlet.activation
 
QueryParameterActivationStrategy() - Constructor for class org.togglz.servlet.activation.QueryParameterActivationStrategy
 

R

release() - Static method in class org.togglz.servlet.util.HttpServletRequestHolder
Remove the request that is currently associated with the current thread.
RequestListener - Interface in org.togglz.servlet.spi
SPI for components that want to be notified about requests.

S

ServerNameActivationStrategy - Class in org.togglz.servlet.activation
Activation strategy that will use the server name used in the request to decide if the feature is active or not.
ServerNameActivationStrategy() - Constructor for class org.togglz.servlet.activation.ServerNameActivationStrategy
 
ServletContextBeanFinder - Class in org.togglz.servlet.spi
This implementation of BeanFinder allows to register implementations of a given interface by setting a servlet context parameter.
ServletContextBeanFinder() - Constructor for class org.togglz.servlet.spi.ServletContextBeanFinder
 
ServletUserProvider - Class in org.togglz.servlet.user
Implementation of UserProvider that uses HttpServletRequest.getUserPrincipal() to obtain the user.
ServletUserProvider(String) - Constructor for class org.togglz.servlet.user.ServletUserProvider
This constructor requires you to supply the name of the role that identifies users to be feature admins.

T

TogglzFilter - Class in org.togglz.servlet
This filter is the central component of the Togglz Servlet integration module.
TogglzFilter() - Constructor for class org.togglz.servlet.TogglzFilter
 
A B C D E F G H I O P Q R S T 
All Classes and Interfaces|All Packages|Constant Field Values