Class HtmlHandler

  • All Implemented Interfaces:
    io.hyperfoil.api.processor.Processor, io.hyperfoil.api.session.ResourceUtilizer, io.hyperfoil.api.session.Session.ResourceKey<io.hyperfoil.http.html.HtmlHandler.Context>, java.io.Serializable

    public class HtmlHandler
    extends java.lang.Object
    implements io.hyperfoil.api.processor.Processor, io.hyperfoil.api.session.ResourceUtilizer, io.hyperfoil.api.session.Session.ResourceKey<io.hyperfoil.http.html.HtmlHandler.Context>
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  HtmlHandler.Builder
      Parses HTML tags and invokes handlers based on criteria.
      static interface  HtmlHandler.TagHandler  
      static interface  HtmlHandler.TagHandlerBuilder<S extends HtmlHandler.TagHandlerBuilder<S>>  
      • Nested classes/interfaces inherited from interface io.hyperfoil.api.processor.Processor

        io.hyperfoil.api.processor.Processor.ActionAdapter, io.hyperfoil.api.processor.Processor.ActionBuilderAdapter, io.hyperfoil.api.processor.Processor.ActionBuilderConverter, io.hyperfoil.api.processor.Processor.BaseDelegating
      • Nested classes/interfaces inherited from interface io.hyperfoil.api.session.ResourceUtilizer

        io.hyperfoil.api.session.ResourceUtilizer.Visitor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void after​(io.hyperfoil.api.session.Session session)  
      void before​(io.hyperfoil.api.session.Session session)  
      void process​(io.hyperfoil.api.session.Session session, io.netty.buffer.ByteBuf data, int offset, int length, boolean isLastPart)  
      void reserve​(io.hyperfoil.api.session.Session session)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface io.hyperfoil.api.processor.Processor

        ensureDefragmented
    • Method Detail

      • before

        public void before​(io.hyperfoil.api.session.Session session)
        Specified by:
        before in interface io.hyperfoil.api.processor.Processor
      • after

        public void after​(io.hyperfoil.api.session.Session session)
        Specified by:
        after in interface io.hyperfoil.api.processor.Processor
      • process

        public void process​(io.hyperfoil.api.session.Session session,
                            io.netty.buffer.ByteBuf data,
                            int offset,
                            int length,
                            boolean isLastPart)
        Specified by:
        process in interface io.hyperfoil.api.processor.Processor
      • reserve

        public void reserve​(io.hyperfoil.api.session.Session session)
        Specified by:
        reserve in interface io.hyperfoil.api.session.ResourceUtilizer