public class GeoJSONEncoder extends JsonEncoder
Constructor and Description |
---|
GeoJSONEncoder() |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<MediaType> |
createSupportedMediaTypes()
${services_rest_encoders_JsonEncoder_method_createSupportedMediaTypes_Title}
|
Representation |
toRepresentation(MediaType mediaType, java.lang.Object obj)
${services_rest_encoders_JsonEncoder_method_toRepresentation_Title}
|
getSize, isindent, isWriteable, toFormatedObject, toFormatedString, writeTo
getSupportedMediaTypes, isEncodeAllow
protected java.util.List<MediaType> createSupportedMediaTypes()
JsonEncoder
${services_rest_encoders_JsonEncoder_method_createSupportedMediaTypes_Title}
${services_rest_encoders_JsonEncoder_method_createSupportedMediaTypes_Description}
createSupportedMediaTypes
in class JsonEncoder
public Representation toRepresentation(MediaType mediaType, java.lang.Object obj)
JsonEncoder
${services_rest_encoders_JsonEncoder_method_toRepresentation_Title}
${services_rest_encoders_JsonEncoder_method_toRepresentation_Description}
toRepresentation
in class JsonEncoder
mediaType
- ${services_rest_encoders_JsonEncoder_method_toRepresentation_param_mediaType}obj
- ${services_rest_encoders_JsonEncoder_method_toRepresentation_param_resourceObj}