org.glassfish.jersey.client
Class ChunkedInputReader

java.lang.Object
  extended by org.glassfish.jersey.client.ChunkedInputReader
All Implemented Interfaces:
MessageBodyReader<ChunkedInput>

public class ChunkedInputReader
extends java.lang.Object
implements MessageBodyReader<ChunkedInput>

MessageBodyWriter for ChunkedInput.

Author:
Marek Potociar (marek.potociar at oracle.com)

Constructor Summary
ChunkedInputReader()
           
 
Method Summary
 boolean isReadable(java.lang.Class<?> aClass, java.lang.reflect.Type type, java.lang.annotation.Annotation[] annotations, MediaType mediaType)
           
 ChunkedInput readFrom(java.lang.Class<ChunkedInput> chunkedInputClass, java.lang.reflect.Type type, java.lang.annotation.Annotation[] annotations, MediaType mediaType, MultivaluedMap<java.lang.String,java.lang.String> headers, java.io.InputStream inputStream)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChunkedInputReader

public ChunkedInputReader()
Method Detail

isReadable

public boolean isReadable(java.lang.Class<?> aClass,
                          java.lang.reflect.Type type,
                          java.lang.annotation.Annotation[] annotations,
                          MediaType mediaType)
Specified by:
isReadable in interface MessageBodyReader<ChunkedInput>

readFrom

public ChunkedInput readFrom(java.lang.Class<ChunkedInput> chunkedInputClass,
                             java.lang.reflect.Type type,
                             java.lang.annotation.Annotation[] annotations,
                             MediaType mediaType,
                             MultivaluedMap<java.lang.String,java.lang.String> headers,
                             java.io.InputStream inputStream)
                      throws java.io.IOException,
                             WebApplicationException
Specified by:
readFrom in interface MessageBodyReader<ChunkedInput>
Throws:
java.io.IOException
WebApplicationException


Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.