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, jakarta.ws.rs.ext.WriterInterceptor[] interceptors) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringDeprecated.abstract RuntimeExceptioncreateWriterNotFound(Type genericType, jakarta.ws.rs.core.MediaType mediaType) Deprecated.voiddoWrite(Object toOutput, jakarta.ws.rs.core.MediaType mediaType, OutputStream os) Deprecated.voiddoWrite(Object toOutput, Class type, jakarta.ws.rs.core.MediaType mediaType, OutputStream os) Deprecated.voiddoWrite(Object toOutput, Class type, Type genericType, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, Object> requestHeaders, OutputStream os) Deprecated.voiddoWrite(Object toOutput, Class type, Type genericType, jakarta.ws.rs.core.MediaType mediaType, Annotation[] annotations, jakarta.ws.rs.core.MultivaluedMap<String, Object> requestHeaders, OutputStream outputStream) Deprecated.voiddoWrite(HttpResponse response, Object toOutput, Class type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) Deprecated.static byte[]Deprecated.static voidwrite(Object toOutput, jakarta.ws.rs.core.MediaType mt, OutputStream os) Deprecated.
-
Constructor Details
-
WriterUtility
public WriterUtility()Deprecated. -
WriterUtility
public WriterUtility(ResteasyProviderFactory factory, jakarta.ws.rs.ext.WriterInterceptor[] interceptors) Deprecated.
-
-
Method Details
-
asString
Deprecated.- Throws:
IOException
-
getBytes
Deprecated.- Throws:
IOException
-
write
public static void write(Object toOutput, jakarta.ws.rs.core.MediaType mt, OutputStream os) throws IOException Deprecated.- Throws:
IOException
-
doWrite
public void doWrite(Object toOutput, jakarta.ws.rs.core.MediaType mediaType, OutputStream os) throws IOException Deprecated.- Throws:
IOException
-
doWrite
public void doWrite(Object toOutput, Class type, jakarta.ws.rs.core.MediaType mediaType, OutputStream os) throws IOException Deprecated.- Throws:
IOException
-
doWrite
public void doWrite(Object toOutput, Class type, Type genericType, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, Object> requestHeaders, OutputStream os) throws IOExceptionDeprecated.- Throws:
IOException
-
doWrite
public void doWrite(HttpResponse response, Object toOutput, Class type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) throws IOException Deprecated.- Throws:
IOException
-
doWrite
public void doWrite(Object toOutput, Class type, Type genericType, jakarta.ws.rs.core.MediaType mediaType, Annotation[] annotations, jakarta.ws.rs.core.MultivaluedMap<String, Object> requestHeaders, OutputStream outputStream) throws IOExceptionDeprecated.- Throws:
IOException
-
createWriterNotFound
public abstract RuntimeException createWriterNotFound(Type genericType, jakarta.ws.rs.core.MediaType mediaType) Deprecated.
-