Uses of Class
org.apache.juneau.serializer.SerializeException
Packages that use SerializeException
Package
Description
JSON Schema Data Transfer Objects
CSV Marshalling Support
REST Server API
REST Response Converters
-
Uses of SerializeException in org.apache.juneau.bean.jsonschema
Methods in org.apache.juneau.bean.jsonschema that throw SerializeExceptionModifier and TypeMethodDescriptionJsonSchema.BooleanOrSchemaArraySwap.swap
(BeanSession session, Object o) JsonSchema.BooleanOrSchemaSwap.swap
(BeanSession session, Object o) JsonSchema.JsonSchemaOrSchemaArraySwap.swap
(BeanSession session, Object o) JsonSchema.JsonTypeOrJsonTypeArraySwap.swap
(BeanSession session, Object o) -
Uses of SerializeException in org.apache.juneau.collections
Methods in org.apache.juneau.collections that throw SerializeExceptionModifier and TypeMethodDescriptionConvenience method for serializing this JsonList to the specified Writer using the JsonSerializer.DEFAULT serializer.Convenience method for serializing this map to the specifiedWriter using theJsonSerializer.DEFAULT
serializer. -
Uses of SerializeException in org.apache.juneau.config
Methods in org.apache.juneau.config that throw SerializeExceptionModifier and TypeMethodDescriptionLoads the contents of the specified map of maps into this config.Adds or replaces an entry with the specified key with a POJO serialized to a string using the registered serializer.Config.set
(String key, Object value, Serializer serializer) Same asConfig.set(String, Object)
but allows you to specify the serializer to use to serialize the value.Config.set
(String key, Object value, Serializer serializer, String modifiers, String comment, List<String> preLines) Same asConfig.set(String, Object)
but allows you to specify all aspects of a value.Creates the specified section if it doesn't exist. -
Uses of SerializeException in org.apache.juneau.csv
Methods in org.apache.juneau.csv that throw SerializeExceptionModifier and TypeMethodDescriptionprotected void
CsvSerializerSession.doSerialize
(SerializerPipe pipe, Object o) -
Uses of SerializeException in org.apache.juneau.examples.serializer
Methods in org.apache.juneau.examples.serializer that throw SerializeExceptionModifier and TypeMethodDescriptionvoid
ImageSerializer.doSerialize
(SerializerSession session, SerializerPipe pipe, Object o) -
Uses of SerializeException in org.apache.juneau.html
Methods in org.apache.juneau.html that throw SerializeExceptionModifier and TypeMethodDescriptionprotected void
HtmlDocSerializerSession.doSerialize
(SerializerPipe out, Object o) protected void
HtmlSchemaDocSerializerSession.doSerialize
(SerializerPipe out, Object o) protected void
HtmlSchemaSerializerSession.doSerialize
(SerializerPipe out, Object o) protected void
HtmlSerializerSession.doSerialize
(SerializerPipe out, Object o) protected void
HtmlStrippedDocSerializerSession.doSerialize
(SerializerPipe out, Object o) protected XmlSerializerSession.ContentResult
HtmlSerializerSession.serializeAnything
(XmlWriter out, Object o, ClassMeta<?> eType, String keyName, String elementName, Namespace elementNamespace, boolean addNamespaceUris, XmlFormat format, boolean isMixed, boolean preserveWhitespace, BeanPropertyMeta pMeta) protected XmlSerializerSession.ContentResult
HtmlSerializerSession.serializeAnything
(XmlWriter out, Object o, ClassMeta<?> eType, String name, BeanPropertyMeta pMeta, int xIndent, boolean isRoot, boolean nlIfElement) Serialize the specified object to the specified writer. -
Uses of SerializeException in org.apache.juneau.httppart
Methods in org.apache.juneau.httppart that throw SerializeExceptionModifier and TypeMethodDescriptionBaseHttpPartSerializer.serialize
(HttpPartType partType, HttpPartSchema schema, Object value) Converts the specified value to a string that can be used as an HTTP header value, query parameter value, form-data parameter, or URI path variable.HttpPartSerializerSession.serialize
(HttpPartType type, HttpPartSchema schema, Object value) Converts the specified value to a string that can be used as an HTTP header value, query parameter value, form-data parameter, or URI path variable. -
Uses of SerializeException in org.apache.juneau.json
Methods in org.apache.juneau.json that throw SerializeExceptionModifier and TypeMethodDescriptionprotected void
JsonSchemaSerializerSession.doSerialize
(SerializerPipe out, Object o) protected void
JsonSerializerSession.doSerialize
(SerializerPipe out, Object o) protected JsonWriter
JsonSerializerSession.serializeAnything
(JsonWriter out, Object o, ClassMeta<?> eType, String attrName, BeanPropertyMeta pMeta) Workhorse method. -
Uses of SerializeException in org.apache.juneau.jsonschema
Methods in org.apache.juneau.jsonschema that throw SerializeExceptionModifier and TypeMethodDescriptionReturns the JSON-schema for the specified object.Returns the JSON-schema for the specified type.Returns the JSON-schema for the specified type. -
Uses of SerializeException in org.apache.juneau.marshaller
Methods in org.apache.juneau.marshaller that throw SerializeExceptionModifier and TypeMethodDescriptionstatic String
Serializes a Java object to a JSON string.static Object
Serializes a Java object to a JSON output.static String
Serializes a Java object to an HTML string.static Object
Serializes a Java object to an HTML output.static String
Serializes a Java object to a JSON string.static Object
Serializes a Java object to a JSON output.static String
Serializes a Java object to a JSON 5 string.static Object
Serializes a Java object to a JSON 5 output.static byte[]
Serializes a Java object to a JSON string.static Object
Serializes a Java object to an output.static String
Serializes a Java object to an OpenApi string.static Object
Serializes a Java object to an OpenApi output.static String
OpenApi.of
(HttpPartSchema schema, Object object) Serializes a Java object to an OpenApi output.static String
Serializes a Java object to a Plain Text string.static Object
Serializes a Java object to a Plain Text output.static String
Serializes a Java object to a UON string.static Object
Serializes a Java object to a UON output.static String
Serializes a Java object to a URL-Encoded string.static Object
Serializes a Java object to a URL-Encoded output.static String
Serializes a Java object to an XML string.static Object
Serializes a Java object to an XML output.final String
Serializes a POJO directly to aString .final void
Serializes a POJO to the specified output stream or writer.final byte[]
Serializes a POJO directly to a
.byte [] -
Uses of SerializeException in org.apache.juneau.msgpack
Methods in org.apache.juneau.msgpack that throw SerializeExceptionModifier and TypeMethodDescriptionprotected void
MsgPackSerializerSession.doSerialize
(SerializerPipe out, Object o) -
Uses of SerializeException in org.apache.juneau.oapi
Methods in org.apache.juneau.oapi that throw SerializeExceptionModifier and TypeMethodDescriptionprotected void
OpenApiSerializerSession.doSerialize
(SerializerPipe out, Object o) OpenApiSerializerSession.serialize
(HttpPartType partType, HttpPartSchema schema, Object value) -
Uses of SerializeException in org.apache.juneau.plaintext
Methods in org.apache.juneau.plaintext that throw SerializeExceptionModifier and TypeMethodDescriptionprotected void
PlainTextSerializerSession.doSerialize
(SerializerPipe out, Object o) -
Uses of SerializeException in org.apache.juneau.rest
Methods in org.apache.juneau.rest that throw SerializeExceptionModifier and TypeMethodDescriptionSets a header on the request.RestResponse.setHeader
(HttpPartSchema schema, String name, Object value) Sets a header on the request. -
Uses of SerializeException in org.apache.juneau.rest.converter
Methods in org.apache.juneau.rest.converter that throw SerializeExceptionModifier and TypeMethodDescriptionRestConverter.convert
(RestRequest req, Object res) Performs post-call conversion on the specified response object. -
Uses of SerializeException in org.apache.juneau.serializer
Methods in org.apache.juneau.serializer that return SerializeExceptionModifier and TypeMethodDescriptionstatic SerializeException
Creator method.SerializeException.getRootCause()
Returns the highest-levelParseException in the stack trace.Sets the inner cause for this exception.Methods in org.apache.juneau.serializer that throw SerializeExceptionModifier and TypeMethodDescriptionfinal boolean
SerializerSession.canIgnoreValue
(ClassMeta<?> cm, String attrName, Object value) Returnstrue if the specified value should not be serialized.protected void
Serializer.doSerialize
(SerializerSession session, SerializerPipe pipe, Object o) Serializes a POJO to the specified pipe.protected void
SerializerSession.doSerialize
(SerializerPipe pipe, Object o) Serializes a POJO to the specified pipe.protected final Object
SerializerSession.generalize
(Object o, ClassMeta<?> type) Generalize the specified object if a POJO swap is associated with it.SerializerPipe.getWriter()
Wraps the specified output object inside a writer.protected final void
SerializerSession.onBeanGetterException
(BeanPropertyMeta p, Throwable t) Specialized warning when an exception is thrown while executing a bean getter.protected final ClassMeta<?>
Same asBeanTraverseSession.push(String, Object, ClassMeta)
but wrapsBeanRecursionException
insideSerializeException
.final byte[]
Convenience method for serializing an object to a
.byte final byte[]
Convenience method for serializing an object to a
.byte Shortcut method for serializing objects directly to either aString or
depending on the serializer type.byte []final void
Serializes a POJO to the specified output stream or writer.Shortcut method for serializing objects directly to either aString or
depending on the serializer type.byte []final void
Serialize the specified object using the specified session.final String
Convenience method for serializing an object to aString .final String
Convenience method for serializing an object to aString .final String
OutputStreamSerializerSession.serializeToString
(Object o) final String
Serializer.serializeToString
(Object o) Convenience method for serializing an object to a String.SerializerSession.serializeToString
(Object o) Shortcut method for serializing an object to a String.final String
WriterSerializerSession.serializeToString
(Object o) protected Object
SerializerSession.swap
(ObjectSwap swap, Object o) Invokes the specified swap on the specified object if the swap is not null. -
Uses of SerializeException in org.apache.juneau.soap
Methods in org.apache.juneau.soap that throw SerializeExceptionModifier and TypeMethodDescriptionprotected void
SoapXmlSerializerSession.doSerialize
(SerializerPipe out, Object o) -
Uses of SerializeException in org.apache.juneau.swap
Methods in org.apache.juneau.swap that throw SerializeExceptionModifier and TypeMethodDescriptionList<?>
AutoListSwap.swap
(BeanSession session, Object o) Map<?,
?> AutoMapSwap.swap
(BeanSession session, Object o) AutoNumberSwap.swap
(BeanSession session, Object o) AutoObjectSwap.swap
(BeanSession session, Object o) SurrogateSwap.swap
(BeanSession session, T o) -
Uses of SerializeException in org.apache.juneau.uon
Methods in org.apache.juneau.uon that throw SerializeExceptionModifier and TypeMethodDescriptionprotected void
UonSerializerSession.doSerialize
(SerializerPipe out, Object o) UonSerializer.serialize
(HttpPartType partType, HttpPartSchema schema, Object value) Converts the specified value to a string that can be used as an HTTP header value, query parameter value, form-data parameter, or URI path variable.UonSerializerSession.serialize
(HttpPartType type, HttpPartSchema schema, Object value) protected SerializerWriter
UonSerializerSession.serializeAnything
(UonWriter out, Object o, ClassMeta<?> eType, String attrName, BeanPropertyMeta pMeta) Workhorse method. -
Uses of SerializeException in org.apache.juneau.urlencoding
Methods in org.apache.juneau.urlencoding that throw SerializeExceptionModifier and TypeMethodDescriptionprotected void
UrlEncodingSerializerSession.doSerialize
(SerializerPipe out, Object o) -
Uses of SerializeException in org.apache.juneau.xml
Methods in org.apache.juneau.xml that throw SerializeExceptionModifier and TypeMethodDescriptionprotected void
XmlDocSerializerSession.doSerialize
(SerializerPipe out, Object o) protected void
XmlSerializerSession.doSerialize
(SerializerPipe out, Object o) protected final void
XmlSerializerSession.findNsfMappings
(Object o) Recursively searches for the XML namespaces on the specified POJO and adds them to the serializer context object.protected XmlSerializerSession.ContentResult
XmlSerializerSession.serializeAnything
(XmlWriter out, Object o, ClassMeta<?> eType, String keyName, String elementName, Namespace elementNamespace, boolean addNamespaceUris, XmlFormat format, boolean isMixedOrText, boolean preserveWhitespace, BeanPropertyMeta pMeta) Workhorse method.