Class FetchResourceHandler

  • All Implemented Interfaces:
    io.hyperfoil.api.session.ResourceUtilizer, java.io.Serializable

    public class FetchResourceHandler
    extends java.lang.Object
    implements java.io.Serializable, io.hyperfoil.api.session.ResourceUtilizer
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  FetchResourceHandler.Builder
      Automates download of embedded resources.
      • Nested classes/interfaces inherited from interface io.hyperfoil.api.session.ResourceUtilizer

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

      Constructors 
      Constructor Description
      FetchResourceHandler​(Queue.Key queueKey, LimitedPoolResource.Key<Location> locationPoolKey, io.hyperfoil.api.session.ObjectAccess var, int maxResources, java.lang.String sequence, int concurrency, io.hyperfoil.api.session.Action onCompletion)  
    • 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 handle​(io.hyperfoil.api.session.Session session, java.lang.CharSequence authority, java.lang.CharSequence path)  
      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
    • Constructor Detail

      • FetchResourceHandler

        public FetchResourceHandler​(Queue.Key queueKey,
                                    LimitedPoolResource.Key<Location> locationPoolKey,
                                    io.hyperfoil.api.session.ObjectAccess var,
                                    int maxResources,
                                    java.lang.String sequence,
                                    int concurrency,
                                    io.hyperfoil.api.session.Action onCompletion)
    • Method Detail

      • before

        public void before​(io.hyperfoil.api.session.Session session)
      • handle

        public void handle​(io.hyperfoil.api.session.Session session,
                           java.lang.CharSequence authority,
                           java.lang.CharSequence path)
      • after

        public void after​(io.hyperfoil.api.session.Session session)
      • reserve

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