Package org.omegazero.http.h2.util
Interface StreamCallback<T>
- Type Parameters:
T
- The type of the input parameter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Deprecated.
A functional interface similar to a
Consumer
, except that the functional method may throw an IOException
.- Since:
- 1.2.1
-
Method Summary
-
Method Details
-
accept
Deprecated.The callback method.- Parameters:
t
- The input parameter- Throws:
IOException
- If an IO error occurs
-
IOException
s can no longer be thrown from callbacks in HTTP/2 stream implementations