public interface

InstanceServletBinding

com.google.inject.servlet.InstanceServletBinding

Class Overview

A binding to a single instance of a servlet.

Summary

Public Methods
abstract Map<String, String> getInitParams()
Returns any init params supplied when creating the binding.
abstract String getPattern()
Returns the pattern used to match against the servlet.
abstract HttpServlet getServletInstance()
Returns the servlet instance that will be used.
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 String getPattern ()

Returns the pattern used to match against the servlet.

public abstract HttpServlet getServletInstance ()

Returns the servlet instance that will be used.

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...).