Package org.apache.juneau.httppart
Class SimplePartSerializer
java.lang.Object
org.apache.juneau.Context
org.apache.juneau.BeanContextable
org.apache.juneau.httppart.BaseHttpPartSerializer
org.apache.juneau.httppart.SimplePartSerializer
- All Implemented Interfaces:
- AnnotationProvider,- HttpPartSerializer
An implementation of 
HttpPartSerializer that simply serializes everything using Object.toString().
 
 More precisely, uses the Mutaters.toString(Object) method to stringify objects.
 
Notes:
- This class is thread safe and reusable.
See Also:
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from interface org.apache.juneau.httppart.HttpPartSerializerHttpPartSerializer.Creator, HttpPartSerializer.Void
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final SimplePartSerializerReusable instance ofSimplePartSerializer, all default settings.Fields inherited from class org.apache.juneau.ContextCONTEXT_APPLY_FILTERFields inherited from interface org.apache.juneau.AnnotationProviderDISABLE_ANNOTATION_CACHING
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic SimplePartSerializer.Buildercreate()Creates a new builder for this object.Creates a new serializer session.Methods inherited from class org.apache.juneau.httppart.BaseHttpPartSerializerserializeMethods inherited from class org.apache.juneau.BeanContextablegetBeanContext, propertiesMethods inherited from class org.apache.juneau.Contextcopy, createBuilder, createSession, firstAnnotation, firstAnnotation, firstAnnotation, firstAnnotation, firstDeclaredAnnotation, forEachAnnotation, forEachAnnotation, forEachAnnotation, forEachAnnotation, forEachDeclaredAnnotation, getSession, hasAnnotation, hasAnnotation, hasAnnotation, hasAnnotation, init, isDebug, lastAnnotation, lastAnnotation, lastAnnotation, lastAnnotation, lastDeclaredAnnotation, toString
- 
Field Details- 
DEFAULTReusable instance ofSimplePartSerializer, all default settings.
 
- 
- 
Constructor Details- 
SimplePartSerializerConstructor- Parameters:
- builder- The builder for this object.
 
 
- 
- 
Method Details- 
createCreates a new builder for this object.- Returns:
- A new builder.
 
- 
getPartSessionDescription copied from interface:HttpPartSerializerCreates a new serializer session.- Returns:
- A new serializer session.
 
 
-