Package com.google.inject.servlet
Class InstanceServletBindingImpl
java.lang.Object
com.google.inject.servlet.AbstractServletModuleBinding<javax.servlet.http.HttpServlet>
com.google.inject.servlet.InstanceServletBindingImpl
- All Implemented Interfaces:
InstanceServletBinding
,ServletModuleBinding
class InstanceServletBindingImpl
extends AbstractServletModuleBinding<javax.servlet.http.HttpServlet>
implements InstanceServletBinding
Default implementation of InstanceServletBinding.
-
Constructor Summary
ConstructorsConstructorDescriptionInstanceServletBindingImpl
(Map<String, String> initParams, javax.servlet.http.HttpServlet target, UriPatternMatcher patternMatcher) -
Method Summary
Modifier and TypeMethodDescriptionjavax.servlet.http.HttpServlet
Returns the servlet instance that will be used.toString()
Methods inherited from class com.google.inject.servlet.AbstractServletModuleBinding
getInitParams, getPattern, getTarget, getUriPatternType, matchesUri
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.inject.servlet.ServletModuleBinding
getInitParams, getPattern, getUriPatternType, matchesUri
-
Constructor Details
-
InstanceServletBindingImpl
InstanceServletBindingImpl(Map<String, String> initParams, javax.servlet.http.HttpServlet target, UriPatternMatcher patternMatcher)
-
-
Method Details
-
getServletInstance
public javax.servlet.http.HttpServlet getServletInstance()Description copied from interface:InstanceServletBinding
Returns the servlet instance that will be used.- Specified by:
getServletInstance
in interfaceInstanceServletBinding
-
toString
-