Package org.nuxeo.ecm.webengine.app
Class JsonWebengineWriter
- java.lang.Object
-
- org.nuxeo.ecm.webengine.app.JsonWebengineWriter
-
public class JsonWebengineWriter extends Object
- Since:
- 6.0
-
-
Field Summary
Fields Modifier and Type Field Description static String
SHOW_EXCEPTION_MESSAGE
-
Constructor Summary
Constructors Constructor Description JsonWebengineWriter()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected static String
getExceptionMessage(String exceptionMessage, int statusCode)
protected static String
getStackTraceString(Throwable t)
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(com.fasterxml.jackson.core.JsonGenerator jg, WebException webException, javax.ws.rs.core.MediaType mediaType)
Deprecated.since 9.3static void
writeException(OutputStream out, NuxeoException nuxeoException, javax.ws.rs.core.MediaType mediaType)
static void
writeException(OutputStream out, WebException webException, javax.ws.rs.core.MediaType mediaType)
Deprecated.since 9.3
-
-
-
Field Detail
-
SHOW_EXCEPTION_MESSAGE
public static final String SHOW_EXCEPTION_MESSAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
writeException
@Deprecated public static void writeException(OutputStream out, WebException webException, javax.ws.rs.core.MediaType mediaType) throws IOException
Deprecated.since 9.3- Throws:
IOException
-
writeException
@Deprecated public static void writeException(com.fasterxml.jackson.core.JsonGenerator jg, WebException webException, javax.ws.rs.core.MediaType mediaType) throws IOException
Deprecated.since 9.3- Throws:
IOException
-
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
protected static String getExceptionMessage(String exceptionMessage, int statusCode)
- Since:
- 11.5
-
getStackTraceString
protected static String getStackTraceString(Throwable t) throws IOException
- Throws:
IOException
-
-