Class SseEventInputImpl
java.lang.Object
org.jboss.resteasy.plugins.providers.sse.SseEventInputImpl
- All Implemented Interfaces:
Closeable
,AutoCloseable
,EventInput
-
Constructor Summary
ConstructorDescriptionSseEventInputImpl
(Annotation[] annotations, jakarta.ws.rs.core.MediaType streamType, jakarta.ws.rs.core.MediaType elementType, jakarta.ws.rs.core.MultivaluedMap<String, String> httpHeaders, InputStream inputStream) -
Method Summary
-
Constructor Details
-
SseEventInputImpl
public SseEventInputImpl(Annotation[] annotations, jakarta.ws.rs.core.MediaType streamType, jakarta.ws.rs.core.MediaType elementType, jakarta.ws.rs.core.MultivaluedMap<String, String> httpHeaders, InputStream inputStream)
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
isClosed
public boolean isClosed() -
read
- Throws:
IOException
-
read
public jakarta.ws.rs.sse.InboundSseEvent read(jakarta.ws.rs.ext.Providers providers) throws IOException - Throws:
IOException
-
readEvent
- Throws:
IOException
-