- 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 TypeMethodDescriptionvoid
accept
(HttpResponse<InputStream> argument) Accepts an argument using unsafe code.
-
Method Details
-
accept
Description copied from interface:UnsafeConsumer
Accepts an argument using unsafe code.- Specified by:
accept
in interfaceUnsafeConsumer<HttpResponse<InputStream>>
- Parameters:
argument
- The argument.- Throws:
HttpException
-