src/java.net.http/share/classes/jdk/internal/net/http/common/FlowTube.java
branchhttp-client-branch
changeset 56474 fe2bf7b369b8
parent 56451 9585061fdb04
child 56507 2294c51eae30
equal deleted inserted replaced
56463:b583caf69b39 56474:fe2bf7b369b8
    60          * is handed over to a new subscriber.
    60          * is handed over to a new subscriber.
    61          * Once {@code dropSubscription()} is called, the {@code TubeSubscriber}
    61          * Once {@code dropSubscription()} is called, the {@code TubeSubscriber}
    62          * should stop calling any method on its subscription.
    62          * should stop calling any method on its subscription.
    63          */
    63          */
    64         default void dropSubscription() { }
    64         default void dropSubscription() { }
       
    65 
       
    66         default boolean supportsRecycling() { return false; }
    65 
    67 
    66     }
    68     }
    67 
    69 
    68     /**
    70     /**
    69      * A publisher for writing to the bidirectional flow.
    71      * A publisher for writing to the bidirectional flow.