Class AppointmentMessageBodyReader

  • All Implemented Interfaces:
    javax.ws.rs.ext.MessageBodyReader<org.apache.openmeetings.db.dto.calendar.AppointmentDTO>

    @Provider
    @Consumes("application/json")
    public class AppointmentMessageBodyReader
    extends java.lang.Object
    implements javax.ws.rs.ext.MessageBodyReader<org.apache.openmeetings.db.dto.calendar.AppointmentDTO>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isReadable​(java.lang.Class<?> clazz, java.lang.reflect.Type type, java.lang.annotation.Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)  
      org.apache.openmeetings.db.dto.calendar.AppointmentDTO readFrom​(java.lang.Class<org.apache.openmeetings.db.dto.calendar.AppointmentDTO> clazz, java.lang.reflect.Type type, java.lang.annotation.Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<java.lang.String,​java.lang.String> httpHeaders, java.io.InputStream entityStream)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AppointmentMessageBodyReader

        public AppointmentMessageBodyReader()
    • Method Detail

      • isReadable

        public boolean isReadable​(java.lang.Class<?> clazz,
                                  java.lang.reflect.Type type,
                                  java.lang.annotation.Annotation[] annotations,
                                  javax.ws.rs.core.MediaType mediaType)
        Specified by:
        isReadable in interface javax.ws.rs.ext.MessageBodyReader<org.apache.openmeetings.db.dto.calendar.AppointmentDTO>
      • readFrom

        public org.apache.openmeetings.db.dto.calendar.AppointmentDTO readFrom​(java.lang.Class<org.apache.openmeetings.db.dto.calendar.AppointmentDTO> clazz,
                                                                               java.lang.reflect.Type type,
                                                                               java.lang.annotation.Annotation[] annotations,
                                                                               javax.ws.rs.core.MediaType mediaType,
                                                                               javax.ws.rs.core.MultivaluedMap<java.lang.String,​java.lang.String> httpHeaders,
                                                                               java.io.InputStream entityStream)
                                                                        throws java.io.IOException
        Specified by:
        readFrom in interface javax.ws.rs.ext.MessageBodyReader<org.apache.openmeetings.db.dto.calendar.AppointmentDTO>
        Throws:
        java.io.IOException