@Produces(value={"application/xml","text/xml","*/*"}) @Consumes(value={"application/xml","text/xml","*/*"}) @Singleton public static final class SourceProvider.StreamSourceReader extends Object implements MessageBodyReader<StreamSource>
StreamSource instances.| Constructor and Description |
|---|
StreamSourceReader() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isReadable(Class<?> t,
Type gt,
Annotation[] as,
MediaType mediaType) |
StreamSource |
readFrom(Class<StreamSource> t,
Type gt,
Annotation[] as,
MediaType mediaType,
MultivaluedMap<String,String> httpHeaders,
InputStream entityStream) |
public boolean isReadable(Class<?> t, Type gt, Annotation[] as, MediaType mediaType)
isReadable in interface MessageBodyReader<StreamSource>public StreamSource readFrom(Class<StreamSource> t, Type gt, Annotation[] as, MediaType mediaType, MultivaluedMap<String,String> httpHeaders, InputStream entityStream) throws IOException
readFrom in interface MessageBodyReader<StreamSource>IOExceptionCopyright © 2007-2024,Oracleand/or its affiliates.All Rights Reserved. Use is subject to license terms.