Class HashMapMessageBodyWriter

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

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

      • HashMapMessageBodyWriter

        public HashMapMessageBodyWriter()
    • 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<HashMap<String,​Object>>