Package ru.funsys.avalanche.rs.provider
Class ArrayListMessageBodyWriter
- java.lang.Object
-
- ru.funsys.avalanche.rs.provider.ArrayListMessageBodyWriter
-
-
Constructor Summary
Constructors Constructor Description ArrayListMessageBodyWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init()
boolean
isWriteable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
void
writeTo(List<HashMap<String,Object>> t, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream)
-
-
-
Method Detail
-
init
@PostConstruct public void init()
-
isWriteable
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType)
-
writeTo
public void writeTo(List<HashMap<String,Object>> t, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String,Object> httpHeaders, OutputStream entityStream) throws IOException, jakarta.ws.rs.WebApplicationException
- Specified by:
writeTo
in interfacejakarta.ws.rs.ext.MessageBodyWriter<List<HashMap<String,Object>>>
- Throws:
IOException
jakarta.ws.rs.WebApplicationException
-
-