public class WeatherEventProvider extends Object implements jakarta.ws.rs.ext.MessageBodyReader<WeatherEvent>
| Constructor and Description |
|---|
WeatherEventProvider() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isReadable(Class<?> type,
Type genericType,
Annotation[] annotations,
jakarta.ws.rs.core.MediaType mediaType) |
WeatherEvent |
readFrom(Class<WeatherEvent> type,
Type genericType,
Annotation[] annotations,
jakarta.ws.rs.core.MediaType mediaType,
jakarta.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
public boolean isReadable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
isReadable in interface jakarta.ws.rs.ext.MessageBodyReader<WeatherEvent>public WeatherEvent readFrom(Class<WeatherEvent> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String,String> httpHeaders, InputStream entityStream) throws IOException, jakarta.ws.rs.WebApplicationException
readFrom in interface jakarta.ws.rs.ext.MessageBodyReader<WeatherEvent>IOExceptionjakarta.ws.rs.WebApplicationExceptionCopyright © 2021 Eclipse Foundation. All rights reserved.