Class PrettyProcessor

    • Constructor Detail

      • PrettyProcessor

        public PrettyProcessor()
    • Method Detail

      • decorate

        public Marshaller decorate​(Marshaller target,
                                   Formatted annotation,
                                   Class type,
                                   Annotation[] annotations,
                                   javax.ws.rs.core.MediaType mediaType)
        Specified by:
        decorate in interface DecoratorProcessor<Marshaller,​Formatted>
        Parameters:
        target - i.e. a Marshaller instance
        annotation - the annotation that triggered the decorator
        type - type
        annotations - array of annotations
        mediaType - media type
        Returns:
        should never return null