Package kr.toxicity.model.api.util
Interface HttpUtil.HttpClientConsumer<T>
- Type Parameters:
T- type
- Enclosing class:
HttpUtil
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Http client consumer
-
Method Summary
Modifier and TypeMethodDescriptionaccept(@NotNull HttpClient client) Accepts a task with an http client
-
Method Details
-
accept
Accepts a task with an http client- Parameters:
client- client- Returns:
- value
- Throws:
Exception- exception
-