@Provider public class ArchiveFileWriter extends Object implements MessageBodyWriter<ArchiveFile>
Constructor and Description |
---|
ArchiveFileWriter() |
Modifier and Type | Method and Description |
---|---|
long |
getSize(ArchiveFile arg0,
Class<?> arg1,
Type arg2,
Annotation[] arg3,
MediaType arg4) |
boolean |
isWriteable(Class<?> arg0,
Type type,
Annotation[] arg2,
MediaType arg3) |
void |
writeTo(ArchiveFile t,
Class<?> type,
Type genericType,
Annotation[] annotations,
MediaType mediaType,
MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
public void writeTo(ArchiveFile t, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType, MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream) throws IOException
writeTo
in interface MessageBodyWriter<ArchiveFile>
IOException
public long getSize(ArchiveFile arg0, Class<?> arg1, Type arg2, Annotation[] arg3, MediaType arg4)
getSize
in interface MessageBodyWriter<ArchiveFile>
public boolean isWriteable(Class<?> arg0, Type type, Annotation[] arg2, MediaType arg3)
isWriteable
in interface MessageBodyWriter<ArchiveFile>
Copyright © 2013 Nuxeo SA. All Rights Reserved.