public interface

LinkedServletBinding

com.google.inject.servlet.LinkedServletBinding

Class Overview

A linked binding to a servlet.

Summary

Public Methods
abstract Map<String, String> getInitParams()
Returns any init params supplied when creating the binding.
abstract Key<? extends HttpServlet> getLinkedKey()
Returns the key used to lookup the servlet instance.
abstract String getPattern()
Returns the pattern used to match against the servlet.
abstract UriPatternType getUriPatternType()
Returns the pattern type that this servlet binding was created with.

Public Methods

public abstract Map<String, String> getInitParams ()

Returns any init params supplied when creating the binding.

public abstract Key<? extends HttpServlet> getLinkedKey ()

Returns the key used to lookup the servlet instance.

public abstract String getPattern ()

Returns the pattern used to match against the servlet.

public abstract UriPatternType getUriPatternType ()

Returns the pattern type that this servlet binding was created with. This will be REGEX if the binding was created with ServletModule#serveRegex(String, String...), and SERVLET if it was created with ServletModule#serve(String, String...).