Interface HTTPResponseSupplier<T extends HTTPResponse>

Type Parameters:
T - A specific HTTPResponse type
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 HTTPResponseSupplier<T extends HTTPResponse>
A functional interface for creating HTTPResponses.

This may be useful to an application using parsers of this library for creating special subtypes of HTTPResponses, since the parsers would otherwise only create instances of regular HTTPResponses, possibly limiting the application.

Since:
1.2.1
See Also: