Package com.google.inject.servlet
Interface ServletModuleBinding
-
- All Known Subinterfaces:
InstanceFilterBinding,InstanceServletBinding,LinkedFilterBinding,LinkedServletBinding
public interface ServletModuleBindingA binding created byServletModule.- Since:
- 3.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,String>getInitParams()Returns any context params supplied when creating the binding.StringgetPattern()Returns the pattern used to match against the binding.UriPatternTypegetUriPatternType()Returns the pattern type that this binding was created with.booleanmatchesUri(String uri)Returns true if the given URI will match this binding.
-
-
-
Method Detail
-
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
Map<String,String> getInitParams()
Returns any context params supplied when creating the binding.
-
matchesUri
boolean matchesUri(String uri)
Returns true if the given URI will match this binding.
-
-