com.google.inject.servlet
Interface ServletModuleBinding

All Known Subinterfaces:
InstanceFilterBinding, InstanceServletBinding, LinkedFilterBinding, LinkedServletBinding

public interface ServletModuleBinding

A binding created by ServletModule.

Since:
3.0
Author:
sameb@google.com (Sam Berlin)

Method Summary
 Map<String,String> getInitParams()
          Returns any context params supplied when creating the binding.
 String getPattern()
          Returns the pattern used to match against the binding.
 UriPatternType getUriPatternType()
          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 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.



Copyright © 2006-2011 Google, Inc.. All Rights Reserved.