src/java.net.http/share/classes/java/net/http/HttpResponse.java
branchhttp-client-branch
changeset 56440 bb7ba987b170
parent 56439 60781b7235d6
child 56451 9585061fdb04
equal deleted inserted replaced
56439:60781b7235d6 56440:bb7ba987b170
   249          *
   249          *
   250          * <p> The response body can be discarded using one of {@link
   250          * <p> The response body can be discarded using one of {@link
   251          * BodyHandlers#discarding() discarding} or {@link
   251          * BodyHandlers#discarding() discarding} or {@link
   252          * BodyHandlers#replacing(Object) replacing}.
   252          * BodyHandlers#replacing(Object) replacing}.
   253          *
   253          *
   254          * @param responseInfo the response info.
   254          * @param responseInfo the response info
   255          * @return a body subscriber
   255          * @return a body subscriber
   256          */
   256          */
   257         public BodySubscriber<T> apply(ResponseInfo responseInfo);
   257         public BodySubscriber<T> apply(ResponseInfo responseInfo);
   258     }
   258     }
   259 
   259