Class UserAgentAppender

  • All Implemented Interfaces:
    io.hyperfoil.api.session.ResourceUtilizer, io.hyperfoil.api.session.Session.ResourceKey<UserAgentAppender.SessionId>, io.hyperfoil.function.SerializableBiConsumer<io.hyperfoil.api.session.Session,​HttpRequestWriter>, java.io.Serializable, java.util.function.BiConsumer<io.hyperfoil.api.session.Session,​HttpRequestWriter>

    public class UserAgentAppender
    extends java.lang.Object
    implements io.hyperfoil.function.SerializableBiConsumer<io.hyperfoil.api.session.Session,​HttpRequestWriter>, io.hyperfoil.api.session.ResourceUtilizer, io.hyperfoil.api.session.Session.ResourceKey<UserAgentAppender.SessionId>
    See Also:
    Serialized Form
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  UserAgentAppender.SessionId  
      • 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 accept​(io.hyperfoil.api.session.Session session, HttpRequestWriter httpRequestWriter)  
      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 java.util.function.BiConsumer

        andThen
    • Constructor Detail

      • UserAgentAppender

        public UserAgentAppender()
    • Method Detail

      • accept

        public void accept​(io.hyperfoil.api.session.Session session,
                           HttpRequestWriter httpRequestWriter)
        Specified by:
        accept in interface java.util.function.BiConsumer<io.hyperfoil.api.session.Session,​HttpRequestWriter>
      • reserve

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