Package com.google.inject.servlet
Interface ServletModuleBinding
- All Known Subinterfaces:
InstanceFilterBinding
,InstanceServletBinding
,LinkedFilterBinding
,LinkedServletBinding
- All Known Implementing Classes:
AbstractServletModuleBinding
,InstanceFilterBindingImpl
,InstanceServletBindingImpl
,LinkedFilterBindingImpl
,LinkedServletBindingImpl
public interface ServletModuleBinding
A binding created by
ServletModule
.- Since:
- 3.0
-
Method Summary
Modifier and TypeMethodDescriptionReturns any context params supplied when creating the binding.Returns the pattern used to match against the binding.Returns the pattern type that this binding was created with.boolean
matchesUri
(String uri) Returns true if the given URI will match this binding.
-
Method Details
-
getUriPatternType
UriPatternType getUriPatternType()Returns the pattern type that this binding was created with. -
getPattern
String getPattern()Returns the pattern used to match against the binding. -
getInitParams
Returns any context params supplied when creating the binding. -
matchesUri
Returns true if the given URI will match this binding.
-