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