Package org.n52.svalbard.encode.json
Class OwsExceptionReportEncoder
- java.lang.Object
-
- org.n52.svalbard.encode.json.JSONEncoder<OwsExceptionReport>
-
- org.n52.svalbard.encode.json.OwsExceptionReportEncoder
-
- All Implemented Interfaces:
Component<EncoderKey>,Keyed<EncoderKey>,Encoder<com.fasterxml.jackson.databind.JsonNode,OwsExceptionReport>
public class OwsExceptionReportEncoder extends JSONEncoder<OwsExceptionReport>
TODO JavaDoc- Since:
- 1.0.0
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASSstatic StringFILEstatic charLFstatic StringLINEstatic StringMETHODstatic StringSTACK_TRACE-
Fields inherited from class org.n52.svalbard.encode.json.JSONEncoder
CONTENT_TYPE
-
-
Constructor Summary
Constructors Constructor Description OwsExceptionReportEncoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNodeencodeJSON(OwsExceptionReport t)protected StringgetExceptionText(CodedException ce)-
Methods inherited from class org.n52.svalbard.encode.json.JSONEncoder
encode, encode, encode, encode, encodeAsString, encodeChecked, encodeChecked, encodeCodeType, encodeCodeType, encodeCodeWithAuthority, encodeList, encodeListChecked, encodeObjectsToJson, encodeObjectToJson, encodeOptional, encodeOptional, encodeOptionalChecked, encodeOptionalChecked, encodeOwsCode, encodeURI, getContentType, getEncoderRepository, getKeys, nodeFactory, setEncoderRepository, toJsonArray, toJsonObject
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.n52.svalbard.encode.Encoder
getSupportedTypes
-
-
-
-
Field Detail
-
LF
public static final char LF
- See Also:
- Constant Field Values
-
LINE
public static final String LINE
- See Also:
- Constant Field Values
-
CLASS
public static final String CLASS
- See Also:
- Constant Field Values
-
FILE
public static final String FILE
- See Also:
- Constant Field Values
-
METHOD
public static final String METHOD
- See Also:
- Constant Field Values
-
STACK_TRACE
public static final String STACK_TRACE
- See Also:
- Constant Field Values
-
-
Method Detail
-
encodeJSON
public com.fasterxml.jackson.databind.JsonNode encodeJSON(OwsExceptionReport t) throws JSONEncodingException
- Specified by:
encodeJSONin classJSONEncoder<OwsExceptionReport>- Throws:
JSONEncodingException
-
getExceptionText
protected String getExceptionText(CodedException ce)
-
-