public interface ServletModuleTargetVisitor<T,V> extends BindingTargetVisitor<T,V>
If your BindingTargetVisitor implements this interface, bindings created by using
ServletModule will be visited through this interface.
V visit(LinkedFilterBinding binding)
ServletModule.filter(java.lang.String, java.lang.String...), where ServletModule.FilterKeyBindingBuilder.through(java.lang.Class<? extends javax.servlet.Filter>) is called with a Class or Key.
If multiple patterns were specified, this will be called multiple times.
V visit(InstanceFilterBinding binding)
ServletModule.filter(java.lang.String, java.lang.String...) where ServletModule.FilterKeyBindingBuilder.through(java.lang.Class<? extends javax.servlet.Filter>) is called with a Filter.
If multiple patterns were specified, this will be called multiple times.
V visit(LinkedServletBinding binding)
ServletModule.serve(java.lang.String, java.lang.String...) where ServletModule.ServletKeyBindingBuilder.with(java.lang.Class<? extends javax.servlet.http.HttpServlet>), is called with a Class or Key.
If multiple patterns were specified, this will be called multiple times.
V visit(InstanceServletBinding binding)
ServletModule.serve(java.lang.String, java.lang.String...) where ServletModule.ServletKeyBindingBuilder.with(java.lang.Class<? extends javax.servlet.http.HttpServlet>), is called with an HttpServlet.
If multiple patterns were specified, this will be called multiple times.