@Provider @Produces(value="application/json") public class AppointmentMessageBodyWriter extends Object implements javax.ws.rs.ext.MessageBodyWriter<AppointmentDTO>
| コンストラクタと説明 |
|---|
AppointmentMessageBodyWriter() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
long |
getSize(AppointmentDTO t,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
boolean |
isWriteable(Class<?> clazz,
Type type,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
void |
writeTo(AppointmentDTO t,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders,
OutputStream out) |
public boolean isWriteable(Class<?> clazz, Type type, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isWriteable インタフェース内 javax.ws.rs.ext.MessageBodyWriter<AppointmentDTO>public long getSize(AppointmentDTO t, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
getSize インタフェース内 javax.ws.rs.ext.MessageBodyWriter<AppointmentDTO>public void writeTo(AppointmentDTO t, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream out) throws IOException
writeTo インタフェース内 javax.ws.rs.ext.MessageBodyWriter<AppointmentDTO>IOExceptionCopyright © 2012–2017 Apache Software Foundation. All rights reserved.