public interface

ServletModuleTargetVisitor

implements BindingTargetVisitor<T, V>
com.google.inject.servlet.ServletModuleTargetVisitor<T, V>

Class Overview

A visitor for the servlet extension. If your BindingTargetVisitor implements this interface, bindings created by using ServletModule will be visited through this interface.

Summary

Public Methods
abstract V visit(InstanceFilterBinding binding)
Visits a filter binding created by filter(String, String...) where through(Class) is called with a Filter.
abstract V visit(InstanceServletBinding binding)
Visits a servlet binding created by serve(String, String...) where with(Class), is called with an HttpServlet.
abstract V visit(LinkedFilterBinding binding)
Visits a filter binding created by filter(String, String...), where through(Class) is called with a Class or Key.
abstract V visit(LinkedServletBinding binding)
Visits a servlet binding created by serve(String, String...) where with(Class), is called with a Class or Key.
[Expand]
Inherited Methods
From interface com.google.inject.spi.BindingTargetVisitor

Public Methods

public abstract V visit (InstanceFilterBinding binding)

Visits a filter binding created by filter(String, String...) where through(Class) is called with a Filter. If multiple patterns were specified, this will be called multiple times.

public abstract V visit (InstanceServletBinding binding)

Visits a servlet binding created by serve(String, String...) where with(Class), is called with an HttpServlet. If multiple patterns were specified, this will be called multiple times.

public abstract V visit (LinkedFilterBinding binding)

Visits a filter binding created by filter(String, String...), where through(Class) is called with a Class or Key. If multiple patterns were specified, this will be called multiple times.

public abstract V visit (LinkedServletBinding binding)

Visits a servlet binding created by serve(String, String...) where with(Class), is called with a Class or Key. If multiple patterns were specified, this will be called multiple times.