public class FilterDefinition extends Object implements ProviderWithExtensionVisitor<FilterDefinition>
Constructor and Description |
---|
FilterDefinition(String pattern,
Key<? extends javax.servlet.Filter> filterKey,
UriPatternMatcher patternMatcher,
Map<String,String> initParams,
javax.servlet.Filter filterInstance) |
Modifier and Type | Method and Description |
---|---|
<B,V> V |
acceptExtensionVisitor(BindingTargetVisitor<B,V> visitor,
ProviderInstanceBinding<? extends B> binding)
Instructs the extension determine if the visitor is an instance of a custom
extension visitor, and if so, visit it using that method.
|
FilterDefinition |
get()
Provides an instance of
T . |
String |
toPaddedString(int padding) |
public FilterDefinition get()
Provider
T
. Must never return null
.get
in interface javax.inject.Provider<FilterDefinition>
public <B,V> V acceptExtensionVisitor(BindingTargetVisitor<B,V> visitor, ProviderInstanceBinding<? extends B> binding)
ProviderWithExtensionVisitor
Due to issues with generics, the type parameters of this method do not relate to the type of the provider. In practice, the 'B' type will always be a supertype of 'T'.
acceptExtensionVisitor
in interface ProviderWithExtensionVisitor<FilterDefinition>
public String toPaddedString(int padding)
Copyright © 2006–2015 Google, Inc.. All rights reserved.