public class SseEventInputImpl extends Object implements EventInput, Closeable
| Constructor and Description |
|---|
SseEventInputImpl(Annotation[] annotations,
javax.ws.rs.core.MediaType streamType,
javax.ws.rs.core.MediaType elementType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream inputStream) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
isClosed() |
javax.ws.rs.sse.InboundSseEvent |
read() |
byte[] |
readEvent(InputStream in) |
void |
setProviders(javax.ws.rs.ext.Providers providers) |
public SseEventInputImpl(Annotation[] annotations, javax.ws.rs.core.MediaType streamType, javax.ws.rs.core.MediaType elementType, javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream inputStream)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic boolean isClosed()
public javax.ws.rs.sse.InboundSseEvent read()
throws IOException
IOExceptionpublic byte[] readEvent(InputStream in) throws IOException
IOExceptionpublic void setProviders(javax.ws.rs.ext.Providers providers)
Copyright © 2021 JBoss by Red Hat. All rights reserved.