@Provider public class GeneratorStreamingOutputProvider extends Object implements javax.ws.rs.ext.MessageBodyWriter<GeneratorStreamingOutput>
Modifier and Type | Class and Description |
---|---|
class |
GeneratorStreamingOutputProvider.MimeTypeCallback |
Constructor and Description |
---|
GeneratorStreamingOutputProvider() |
Modifier and Type | Method and Description |
---|---|
long |
getSize(GeneratorStreamingOutput o,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
boolean |
isWriteable(Class<?> t,
Type gt,
Annotation[] as,
javax.ws.rs.core.MediaType mediaType) |
void |
writeTo(GeneratorStreamingOutput o,
Class<?> t,
Type genericType,
Annotation[] as,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entity) |
public boolean isWriteable(Class<?> t, Type gt, Annotation[] as, javax.ws.rs.core.MediaType mediaType)
isWriteable
in interface javax.ws.rs.ext.MessageBodyWriter<GeneratorStreamingOutput>
public long getSize(GeneratorStreamingOutput o, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
getSize
in interface javax.ws.rs.ext.MessageBodyWriter<GeneratorStreamingOutput>
public void writeTo(GeneratorStreamingOutput o, Class<?> t, Type genericType, Annotation[] as, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream entity) throws IOException
writeTo
in interface javax.ws.rs.ext.MessageBodyWriter<GeneratorStreamingOutput>
IOException
Copyright © 2020 Hitachi Vantara. All rights reserved.