public class PrettyProcessor extends Object implements DecoratorProcessor<Marshaller,Formatted>
| Constructor and Description |
|---|
PrettyProcessor() |
| Modifier and Type | Method and Description |
|---|---|
Marshaller |
decorate(Marshaller target,
Formatted annotation,
Class type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
public Marshaller decorate(Marshaller target, Formatted annotation, Class type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
decorate in interface DecoratorProcessor<Marshaller,Formatted>target - i.e. a Marshaller instanceannotation - the annotation that triggered the decoratortype - typeannotations - array of annotationsmediaType - media typeCopyright © 2018 JBoss by Red Hat. All rights reserved.