public abstract class AbstractWriter extends Object implements javax.ws.rs.ext.MessageBodyWriter<org.eclipse.microprofile.openapi.models.OpenAPI>
| Modifier and Type | Field and Description |
|---|---|
protected com.fasterxml.jackson.databind.ObjectMapper |
mapper |
| Constructor and Description |
|---|
AbstractWriter(com.fasterxml.jackson.databind.ObjectMapper mapper) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
void |
writeTo(org.eclipse.microprofile.openapi.models.OpenAPI t,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream) |
public AbstractWriter(com.fasterxml.jackson.databind.ObjectMapper mapper)
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isWriteable in interface javax.ws.rs.ext.MessageBodyWriter<org.eclipse.microprofile.openapi.models.OpenAPI>public void writeTo(org.eclipse.microprofile.openapi.models.OpenAPI t,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream entityStream)
throws IOException
writeTo in interface javax.ws.rs.ext.MessageBodyWriter<org.eclipse.microprofile.openapi.models.OpenAPI>IOExceptionCopyright © 2019. All rights reserved.