Package org.apache.juneau.rest.client
Interface BodyConverter.ThrowingConverter<T>
- Type Parameters:
T- The input type.
- Enclosing interface:
- BodyConverter<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A checked function used by
BodyConverter.of(Class, ThrowingConverter).- Since:
- 9.2.1
-
Method Summary
-
Method Details
-
apply
Converts the given value to aTransportBody.- Parameters:
value- The value. Nevernull .- Returns:
- The transport body. Never
null . - Throws:
IOException- If conversion fails.
-