Package org.nuxeo.ecm.webengine.app
Class JsonWebengineWriter
java.lang.Object
org.nuxeo.ecm.webengine.app.JsonWebengineWriter
- Since:
- 6.0
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static String
getExceptionMessage
(String exceptionMessage, int statusCode) protected static String
protected static void
writeException
(com.fasterxml.jackson.core.JsonGenerator jg, Throwable t, javax.ws.rs.core.MediaType mediaType, int statusCode) static void
writeException
(com.fasterxml.jackson.core.JsonGenerator jg, NuxeoException nuxeoException, javax.ws.rs.core.MediaType mediaType) static void
writeException
(OutputStream out, NuxeoException nuxeoException, javax.ws.rs.core.MediaType mediaType)
-
Field Details
-
SHOW_EXCEPTION_MESSAGE
- See Also:
-
-
Constructor Details
-
JsonWebengineWriter
public JsonWebengineWriter()
-
-
Method Details
-
writeException
public static void writeException(OutputStream out, NuxeoException nuxeoException, javax.ws.rs.core.MediaType mediaType) throws IOException - Throws:
IOException
- Since:
- 9.3
-
writeException
public static void writeException(com.fasterxml.jackson.core.JsonGenerator jg, NuxeoException nuxeoException, javax.ws.rs.core.MediaType mediaType) throws IOException - Throws:
IOException
- Since:
- 9.3
-
writeException
protected static void writeException(com.fasterxml.jackson.core.JsonGenerator jg, Throwable t, javax.ws.rs.core.MediaType mediaType, int statusCode) throws IOException - Throws:
IOException
- Since:
- 9.3
-
getExceptionMessage
- Since:
- 11.5
-
getStackTraceString
- Throws:
IOException
-