equal
deleted
inserted
replaced
609 * |
609 * |
610 * <p> A {@code CompletableFuture} returned from this method can |
610 * <p> A {@code CompletableFuture} returned from this method can |
611 * complete exceptionally with: |
611 * complete exceptionally with: |
612 * <ul> |
612 * <ul> |
613 * <li> {@link IllegalArgumentException} - |
613 * <li> {@link IllegalArgumentException} - |
614 * if {@code statusCode} is illegal |
614 * if {@code statusCode} is illegal, or |
|
615 * if {@code reason} is illegal |
615 * <li> {@link IOException} - |
616 * <li> {@link IOException} - |
616 * if an I/O error occurs, or if the output is closed, |
617 * if an I/O error occurs, or if the output is closed |
617 * or {@code reason} is illegal |
|
618 * </ul> |
618 * </ul> |
619 * |
619 * |
620 * <p> Unless the {@code CompletableFuture} returned from this method |
620 * <p> Unless the {@code CompletableFuture} returned from this method |
621 * completes with {@code IllegalArgumentException}, or the method throws |
621 * completes with {@code IllegalArgumentException}, or the method throws |
622 * {@code NullPointerException}, the output will be closed. |
622 * {@code NullPointerException}, the output will be closed. |