- All Superinterfaces:
UnsafeConsumer<HttpResponse<InputStream>>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface HttpResponseValidator
extends UnsafeConsumer<HttpResponse<InputStream>>
Validates HTTP response status code and headers.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(HttpResponse<InputStream> argument) Accepts an argument using unsafe code.
-
Method Details
-
accept
Description copied from interface:UnsafeConsumerAccepts an argument using unsafe code.- Specified by:
acceptin interfaceUnsafeConsumer<HttpResponse<InputStream>>- Parameters:
argument- The argument.- Throws:
HttpException
-