Package com.google.inject.servlet
Class AbstractServletModuleBinding<T>
java.lang.Object
com.google.inject.servlet.AbstractServletModuleBinding<T>
- All Implemented Interfaces:
ServletModuleBinding
- Direct Known Subclasses:
InstanceFilterBindingImpl,InstanceServletBindingImpl,LinkedFilterBindingImpl,LinkedServletBindingImpl
Abstract implementation for all servlet module bindings
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractServletModuleBinding(Map<String, String> initParams, T target, UriPatternMatcher patternMatcher) -
Method Summary
Modifier and TypeMethodDescriptionReturns any context params supplied when creating the binding.Returns the pattern used to match against the binding.protected TReturns the pattern type that this binding was created with.booleanmatchesUri(String uri) Returns true if the given URI will match this binding.
-
Field Details
-
initParams
-
target
-
patternMatcher
-
-
Constructor Details
-
AbstractServletModuleBinding
AbstractServletModuleBinding(Map<String, String> initParams, T target, UriPatternMatcher patternMatcher)
-
-
Method Details
-
getInitParams
Description copied from interface:ServletModuleBindingReturns any context params supplied when creating the binding.- Specified by:
getInitParamsin interfaceServletModuleBinding
-
getPattern
Description copied from interface:ServletModuleBindingReturns the pattern used to match against the binding.- Specified by:
getPatternin interfaceServletModuleBinding
-
getTarget
-
getUriPatternType
Description copied from interface:ServletModuleBindingReturns the pattern type that this binding was created with.- Specified by:
getUriPatternTypein interfaceServletModuleBinding
-
matchesUri
Description copied from interface:ServletModuleBindingReturns true if the given URI will match this binding.- Specified by:
matchesUriin interfaceServletModuleBinding
-