com.sun.jersey.core.impl.provider.entity
Class SourceProvider.StreamSourceReader
java.lang.Object
com.sun.jersey.core.impl.provider.entity.SourceProvider.StreamSourceReader
- All Implemented Interfaces:
- javax.ws.rs.ext.MessageBodyReader<StreamSource>
- Enclosing class:
- SourceProvider
public static final class SourceProvider.StreamSourceReader
- extends Object
- implements javax.ws.rs.ext.MessageBodyReader<StreamSource>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SourceProvider.StreamSourceReader
public SourceProvider.StreamSourceReader()
isReadable
public boolean isReadable(Class<?> t,
Type gt,
Annotation[] as,
javax.ws.rs.core.MediaType mediaType)
- Specified by:
isReadable
in interface javax.ws.rs.ext.MessageBodyReader<StreamSource>
readFrom
public StreamSource readFrom(Class<StreamSource> t,
Type gt,
Annotation[] as,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,String> httpHeaders,
InputStream entityStream)
throws IOException
- Specified by:
readFrom
in interface javax.ws.rs.ext.MessageBodyReader<StreamSource>
- Throws:
IOException
Copyright © 2011 Oracle Corporation. All Rights Reserved.