public interface

InstanceFilterBinding

com.google.inject.servlet.InstanceFilterBinding

Class Overview

A binding to a single instance of a filter.

Summary

Public Methods
abstract Filter getFilterInstance()
Returns the filter instance that will be used.
abstract Map<String, String> getInitParams()
Returns any context params supplied when creating the binding.
abstract String getPattern()
Returns the pattern used to match against the filter.
abstract UriPatternType getUriPatternType()
Returns the pattern type that this filter binding was created with.

Public Methods

public abstract Filter getFilterInstance ()

Returns the filter instance that will be used.

public abstract Map<String, String> getInitParams ()

Returns any context params supplied when creating the binding.

public abstract String getPattern ()

Returns the pattern used to match against the filter.

public abstract UriPatternType getUriPatternType ()

Returns the pattern type that this filter binding was created with. This will be REGEX if the binding was created with ServletModule#filterRegex(String, String...), and SERVLET if it was created with ServletModule#filter(String, String...).