Package com.inrupt.client
Interface Response.BodyHandler<T>
- Type Parameters:
T
- the body type
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
An interface for mapping an HTTP response into a specific Java type.
-
Method Summary
Modifier and TypeMethodDescriptionapply
(Response.ResponseInfo response) Transform the response into the desired Java type.
-
Method Details
-
apply
Transform the response into the desired Java type.- Parameters:
response
- the initial response information- Returns:
- the response body
-