src/java.net.http/share/classes/jdk/internal/net/http/common/FlowTube.java
changeset 49944 4690a2871b44
parent 49765 ee6f7a61f3a5
child 56507 2294c51eae30
equal deleted inserted replaced
49943:8e1ed2a15845 49944:4690a2871b44
    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.