Package org.apache.hc.core5.http
Interface Validator<H extends HttpMessage>
-
- Type Parameters:
H- message head 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 Validator<H extends HttpMessage>Represents a generic request / response message exchange.- Since:
- 5.5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidvalidate(H messageHead)
-
-
-
Method Detail
-
validate
void validate(H messageHead) throws HttpException
- Throws:
HttpException
-
-