com.sun.jersey.core.impl.provider.entity
Class SourceProvider.StreamSourceReader

java.lang.Object
  extended by com.sun.jersey.core.impl.provider.entity.SourceProvider.StreamSourceReader
All Implemented Interfaces:
javax.ws.rs.ext.MessageBodyReader<javax.xml.transform.stream.StreamSource>
Enclosing class:
SourceProvider

public static final class SourceProvider.StreamSourceReader
extends java.lang.Object
implements javax.ws.rs.ext.MessageBodyReader<javax.xml.transform.stream.StreamSource>


Constructor Summary
SourceProvider.StreamSourceReader()
           
 
Method Summary
 boolean isReadable(java.lang.Class<?> t, java.lang.reflect.Type gt, java.lang.annotation.Annotation[] as, javax.ws.rs.core.MediaType mediaType)
           
 javax.xml.transform.stream.StreamSource readFrom(java.lang.Class<javax.xml.transform.stream.StreamSource> t, java.lang.reflect.Type gt, java.lang.annotation.Annotation[] as, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> httpHeaders, java.io.InputStream entityStream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceProvider.StreamSourceReader

public SourceProvider.StreamSourceReader()
Method Detail

isReadable

public boolean isReadable(java.lang.Class<?> t,
                          java.lang.reflect.Type gt,
                          java.lang.annotation.Annotation[] as,
                          javax.ws.rs.core.MediaType mediaType)
Specified by:
isReadable in interface javax.ws.rs.ext.MessageBodyReader<javax.xml.transform.stream.StreamSource>

readFrom

public javax.xml.transform.stream.StreamSource readFrom(java.lang.Class<javax.xml.transform.stream.StreamSource> t,
                                                        java.lang.reflect.Type gt,
                                                        java.lang.annotation.Annotation[] as,
                                                        javax.ws.rs.core.MediaType mediaType,
                                                        javax.ws.rs.core.MultivaluedMap<java.lang.String,java.lang.String> httpHeaders,
                                                        java.io.InputStream entityStream)
                                                 throws java.io.IOException
Specified by:
readFrom in interface javax.ws.rs.ext.MessageBodyReader<javax.xml.transform.stream.StreamSource>
Throws:
java.io.IOException


Copyright © 2011 Sun Microsystems, Inc. All Rights Reserved.