public class SseEventInputImpl extends Object implements EventInput, Closeable
Constructor and Description |
---|
SseEventInputImpl(Annotation[] annotations,
MediaType streamType,
MediaType elementType,
MultivaluedMap<String,String> httpHeaders,
InputStream inputStream) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
isClosed() |
InboundSseEvent |
read() |
byte[] |
readEvent(InputStream in) |
public SseEventInputImpl(Annotation[] annotations, MediaType streamType, MediaType elementType, MultivaluedMap<String,String> httpHeaders, InputStream inputStream)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
public boolean isClosed()
public InboundSseEvent read() throws IOException
IOException
public byte[] readEvent(InputStream in) throws IOException
IOException
Copyright © 2019 JBoss by Red Hat. All rights reserved.