public class JsonBodyWriter extends Object implements javax.ws.rs.ext.MessageBodyWriter
| コンストラクタと説明 |
|---|
JsonBodyWriter(com.fasterxml.jackson.databind.ObjectMapper mapper) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
isWriteable(Class type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
void |
writeTo(Object o,
Class type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap httpHeaders,
OutputStream entityStream) |
public boolean isWriteable(Class type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isWriteable インタフェース内 javax.ws.rs.ext.MessageBodyWriterpublic void writeTo(Object o, Class type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap httpHeaders, OutputStream entityStream) throws IOException, javax.ws.rs.WebApplicationException
writeTo インタフェース内 javax.ws.rs.ext.MessageBodyWriterIOExceptionjavax.ws.rs.WebApplicationExceptionCopyright © 2016–2017. All rights reserved.