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