com.sun.jersey.core.impl.provider.entity
Class StreamingOutputProvider
java.lang.Object
com.sun.jersey.core.impl.provider.entity.StreamingOutputProvider
- All Implemented Interfaces:
- javax.ws.rs.ext.MessageBodyWriter<javax.ws.rs.core.StreamingOutput>
public final class StreamingOutputProvider
- extends java.lang.Object
- implements javax.ws.rs.ext.MessageBodyWriter<javax.ws.rs.core.StreamingOutput>
- Author:
- Paul.Sandoz@Sun.Com
Method Summary |
long |
getSize(javax.ws.rs.core.StreamingOutput o,
java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
|
boolean |
isWriteable(java.lang.Class<?> t,
java.lang.reflect.Type gt,
java.lang.annotation.Annotation[] as,
javax.ws.rs.core.MediaType mediaType)
|
void |
writeTo(javax.ws.rs.core.StreamingOutput o,
java.lang.Class<?> 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.Object> httpHeaders,
java.io.OutputStream entity)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StreamingOutputProvider
public StreamingOutputProvider()
isWriteable
public boolean isWriteable(java.lang.Class<?> t,
java.lang.reflect.Type gt,
java.lang.annotation.Annotation[] as,
javax.ws.rs.core.MediaType mediaType)
- Specified by:
isWriteable
in interface javax.ws.rs.ext.MessageBodyWriter<javax.ws.rs.core.StreamingOutput>
getSize
public long getSize(javax.ws.rs.core.StreamingOutput o,
java.lang.Class<?> type,
java.lang.reflect.Type genericType,
java.lang.annotation.Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType)
- Specified by:
getSize
in interface javax.ws.rs.ext.MessageBodyWriter<javax.ws.rs.core.StreamingOutput>
writeTo
public void writeTo(javax.ws.rs.core.StreamingOutput o,
java.lang.Class<?> 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.Object> httpHeaders,
java.io.OutputStream entity)
throws java.io.IOException
- Specified by:
writeTo
in interface javax.ws.rs.ext.MessageBodyWriter<javax.ws.rs.core.StreamingOutput>
- Throws:
java.io.IOException
Copyright © 2011 Sun Microsystems, Inc. All Rights Reserved.