@Consumes(value="text/event-stream") @ConstrainedTo(value=CLIENT) public class SseMessageBodyReader extends Object implements javax.ws.rs.ext.MessageBodyReader<org.reactivestreams.Publisher<InboundEvent>>
| Modifier and Type | Field and Description |
|---|---|
protected javax.ws.rs.ext.Providers |
providers |
| Constructor and Description |
|---|
SseMessageBodyReader() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
org.reactivestreams.Publisher<InboundEvent> |
readFrom(Class<org.reactivestreams.Publisher<InboundEvent>> chunkedInputClass,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> headers,
InputStream inputStream) |
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isReadable in interface javax.ws.rs.ext.MessageBodyReader<org.reactivestreams.Publisher<InboundEvent>>public org.reactivestreams.Publisher<InboundEvent> readFrom(Class<org.reactivestreams.Publisher<InboundEvent>> chunkedInputClass, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,String> headers, InputStream inputStream) throws IOException, javax.ws.rs.WebApplicationException
readFrom in interface javax.ws.rs.ext.MessageBodyReader<org.reactivestreams.Publisher<InboundEvent>>IOExceptionjavax.ws.rs.WebApplicationExceptionCopyright © 2007-2021, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.