Module methanol

Class PayloadHandlerExecutor

  • All Implemented Interfaces:
    java.util.function.Supplier<java.util.concurrent.Executor>

    public final class PayloadHandlerExecutor
    extends java.lang.Object
    implements java.util.function.Supplier<java.util.concurrent.Executor>
    Holds the executor to be used for handling a ResponsePayload. Passed to BodyAdapter.Decoder as a hint.
    • Constructor Summary

      Constructors 
      Constructor Description
      PayloadHandlerExecutor​(java.util.concurrent.Executor executor)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.concurrent.Executor get()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • PayloadHandlerExecutor

        public PayloadHandlerExecutor​(java.util.concurrent.Executor executor)
    • Method Detail

      • get

        public java.util.concurrent.Executor get()
        Specified by:
        get in interface java.util.function.Supplier<java.util.concurrent.Executor>
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object