Class BodyTagProxy<T extends javax.servlet.jsp.tagext.BodyTag>

  • Type Parameters:
    T - Type of the BodyTag this proxy delegates to
    All Implemented Interfaces:
    javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, ProxiedTag<T>

    public abstract class BodyTagProxy<T extends javax.servlet.jsp.tagext.BodyTag>
    extends IterationTagProxy<T>
    implements javax.servlet.jsp.tagext.BodyTag
    A proxy that implements BodyTag and allows the target implementation to use dependency injection.
    Author:
    Richard "Shred" Körber
    • Method Detail

      • doInitBody

        public void doInitBody()
                        throws javax.servlet.jsp.JspException
        Specified by:
        doInitBody in interface javax.servlet.jsp.tagext.BodyTag
        Throws:
        javax.servlet.jsp.JspException
      • setBodyContent

        public void setBodyContent​(javax.servlet.jsp.tagext.BodyContent bodyContent)
        Specified by:
        setBodyContent in interface javax.servlet.jsp.tagext.BodyTag