Class ArrayListMessageBodyWriter

  • All Implemented Interfaces:
    jakarta.ws.rs.ext.MessageBodyWriter<List<HashMap<String,​Object>>>

    @Provider
    @Produces("application/xml")
    public class ArrayListMessageBodyWriter
    extends Object
    implements jakarta.ws.rs.ext.MessageBodyWriter<List<HashMap<String,​Object>>>
    Author:
    Валерий Лиховских
    • Constructor Detail

      • ArrayListMessageBodyWriter

        public ArrayListMessageBodyWriter()
    • Method Detail

      • init

        @PostConstruct
        public void init()
      • isWriteable

        public boolean isWriteable​(Class<?> type,
                                   Type genericType,
                                   Annotation[] annotations,
                                   jakarta.ws.rs.core.MediaType mediaType)
        Specified by:
        isWriteable in interface jakarta.ws.rs.ext.MessageBodyWriter<List<HashMap<String,​Object>>>