public class ImageEncoder extends Encoder
${services_rest_encoders_ImageEncoder_Title}
${services_rest_encoders_ImageEncoder_Description}
Constructor and Description |
---|
ImageEncoder() |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<MediaType> |
createSupportedMediaTypes()
${services_rest_encoders_ImageEncoder_method_createSupportedMediaTypes_Title}
|
Representation |
toRepresentation(MediaType mediaType, java.lang.Object obj)
${services_rest_encoders_ImageEncoder_method_toRepresentation_Title}
|
getSupportedMediaTypes, isEncodeAllow
protected java.util.List<MediaType> createSupportedMediaTypes()
${services_rest_encoders_ImageEncoder_method_createSupportedMediaTypes_Title}
${services_rest_encoders_ImageEncoder_method_createSupportedMediaTypes_Description}
createSupportedMediaTypes
in class Encoder
public Representation toRepresentation(MediaType mediaType, java.lang.Object obj)
${services_rest_encoders_ImageEncoder_method_toRepresentation_Title}
${services_rest_encoders_ImageEncoder_method_toRepresentation_Description}
toRepresentation
in class Encoder
mediaType
- ${services_rest_encoders_ImageEncoder_method_toRepresentation_param_mediaType}obj
- ${services_rest_encoders_ImageEncoder_method_toRepresentation_param_obj}