Class WriterUtility
java.lang.Object
org.jboss.resteasy.core.messagebody.WriterUtility
Deprecated.
Utility for accessing RESTEasy's MessageBodyWrite setup
- Version:
- $Revision: 1 $
- Author:
- Solomon Duskis
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.WriterUtility(ResteasyProviderFactory factory, WriterInterceptor[] interceptors) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringDeprecated.abstract RuntimeExceptioncreateWriterNotFound(Type genericType, MediaType mediaType) Deprecated.voiddoWrite(Object toOutput, MediaType mediaType, OutputStream os) Deprecated.voiddoWrite(Object toOutput, Class type, MediaType mediaType, OutputStream os) Deprecated.voiddoWrite(Object toOutput, Class type, Type genericType, MediaType mediaType, MultivaluedMap<String, Object> requestHeaders, OutputStream os) Deprecated.voiddoWrite(Object toOutput, Class type, Type genericType, MediaType mediaType, Annotation[] annotations, MultivaluedMap<String, Object> requestHeaders, OutputStream outputStream) Deprecated.voiddoWrite(HttpResponse response, Object toOutput, Class type, Type genericType, Annotation[] annotations, MediaType mediaType) Deprecated.static byte[]Deprecated.static voidwrite(Object toOutput, MediaType mt, OutputStream os) Deprecated.
-
Constructor Details
-
WriterUtility
public WriterUtility()Deprecated. -
WriterUtility
Deprecated.
-
-
Method Details
-
asString
Deprecated.- Throws:
IOException
-
getBytes
Deprecated.- Throws:
IOException
-
write
Deprecated.- Throws:
IOException
-
doWrite
Deprecated.- Throws:
IOException
-
doWrite
public void doWrite(Object toOutput, Class type, MediaType mediaType, OutputStream os) throws IOException Deprecated.- Throws:
IOException
-
doWrite
public void doWrite(Object toOutput, Class type, Type genericType, MediaType mediaType, MultivaluedMap<String, Object> requestHeaders, OutputStream os) throws IOExceptionDeprecated.- Throws:
IOException
-
doWrite
public void doWrite(HttpResponse response, Object toOutput, Class type, Type genericType, Annotation[] annotations, MediaType mediaType) throws IOException Deprecated.- Throws:
IOException
-
doWrite
public void doWrite(Object toOutput, Class type, Type genericType, MediaType mediaType, Annotation[] annotations, MultivaluedMap<String, Object> requestHeaders, OutputStream outputStream) throws IOExceptionDeprecated.- Throws:
IOException
-
createWriterNotFound
Deprecated.
-