Package org.apache.hc.core5.http
Interface ExchangeHandler<I,O>
-
- Type Parameters:
I- request representation.O- response representation.
- 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 ExchangeHandler<I,O>Represents a generic request / response message exchange.- Since:
- 5.5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Ohandle(I requestObject, HttpContext context)
-
-
-
Method Detail
-
handle
O handle(I requestObject, HttpContext context) throws HttpException
- Throws:
HttpException
-
-