public class ConvertibleOutput extends Object
| Constructor and Description |
|---|
ConvertibleOutput(Object output) |
| Modifier and Type | Method and Description |
|---|---|
Optional<Class<? extends ContentConverter>> |
getConverterClass() |
Optional<MediaType> |
getMediaType() |
Object |
getOutput() |
ConvertibleOutput |
withConverterClass(Class<? extends ContentConverter> converterClass) |
ConvertibleOutput |
withMediaType(MediaType mediaType) |
public ConvertibleOutput(Object output)
public Object getOutput()
public ConvertibleOutput withConverterClass(Class<? extends ContentConverter> converterClass)
public ConvertibleOutput withMediaType(MediaType mediaType)
public Optional<Class<? extends ContentConverter>> getConverterClass()
Copyright © 2014. All rights reserved.