Annotation Debounce

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract boolean reuse() Whether to wait and reuse the previous request result or return it directly.
      abstract long waiting() Interval of debounce waiting in ms
      abstract boolean session() Whether the combination key contains the sessionId
      abstract boolean method() Whether the combination key contains method
      abstract boolean query() Whether the combination key contains querystring
      abstract Array<String> header() Header names contained in the combination key
      abstract boolean body() Whether the combination key contains the md5sum or length of the body.
      • Methods inherited from class java.lang.annotation.Annotation

        annotationType, equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • reuse

         abstract boolean reuse()

        Whether to wait and reuse the previous request result or return it directly.

      • waiting

         abstract long waiting()

        Interval of debounce waiting in ms

      • session

         abstract boolean session()

        Whether the combination key contains the sessionId

      • method

         abstract boolean method()

        Whether the combination key contains method

      • query

         abstract boolean query()

        Whether the combination key contains querystring

      • header

         abstract Array<String> header()

        Header names contained in the combination key

      • body

         abstract boolean body()

        Whether the combination key contains the md5sum or length of the body. If request support wings reuse stream, then use md5, otherwise take length