Class ImageSerializer
java.lang.Object
org.apache.juneau.Context
org.apache.juneau.BeanContextable
org.apache.juneau.BeanTraverseContext
org.apache.juneau.serializer.Serializer
org.apache.juneau.serializer.OutputStreamSerializer
org.apache.juneau.examples.serializer.ImageSerializer
- All Implemented Interfaces:
- AnnotationProvider
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.juneau.serializer.OutputStreamSerializerOutputStreamSerializer.BuilderNested classes/interfaces inherited from class org.apache.juneau.serializer.SerializerSerializer.Null
- 
Field SummaryFields inherited from class org.apache.juneau.ContextCONTEXT_APPLY_FILTERFields inherited from interface org.apache.juneau.AnnotationProviderDEFAULT, DISABLE_ANNOTATION_CACHING
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoiddoSerialize(SerializerSession session, SerializerPipe pipe, Object o) Serializes a POJO to the specified pipe.Methods inherited from class org.apache.juneau.serializer.OutputStreamSerializercreate, createSession, getBinaryFormat, getSession, isWriterSerializer, properties, serializeMethods inherited from class org.apache.juneau.serializer.Serializercopy, createSerializerBuilder, forEachAcceptMediaType, getListener, getMediaTypeRanges, getPrimaryMediaType, getResponseContentType, getResponseHeaders, getUriContext, getUriRelativity, getUriResolution, isAddBeanTypes, isAddRootType, isKeepNullProperties, isSortCollections, isSortMaps, isTrimEmptyCollections, isTrimEmptyMaps, isTrimStrings, serialize, serializeToStringMethods inherited from class org.apache.juneau.BeanTraverseContextgetInitialDepth, getMaxDepth, isDetectRecursions, isIgnoreRecursionsMethods inherited from class org.apache.juneau.BeanContextablegetBeanContextMethods inherited from class org.apache.juneau.ContextcreateBuilder, firstAnnotation, firstAnnotation, firstAnnotation, firstAnnotation, firstDeclaredAnnotation, forEachAnnotation, forEachAnnotation, forEachAnnotation, forEachAnnotation, forEachDeclaredAnnotation, hasAnnotation, hasAnnotation, hasAnnotation, hasAnnotation, init, isDebug, lastAnnotation, lastAnnotation, lastAnnotation, lastAnnotation, lastDeclaredAnnotation, toString
- 
Constructor Details- 
ImageSerializerpublic ImageSerializer()
 
- 
- 
Method Details- 
doSerializepublic void doSerialize(SerializerSession session, SerializerPipe pipe, Object o) throws IOException, SerializeException Description copied from class:SerializerSerializes a POJO to the specified pipe.- Overrides:
- doSerializein class- Serializer
- Parameters:
- session- The current session.
- pipe- Where to send the output from the serializer.
- o- The object to serialize.
- Throws:
- IOException- Thrown by underlying stream.
- SerializeException- Problem occurred trying to serialize object.
 
 
-