Class MapStringSetStringJsonWriter
java.lang.Object
com.xebialabs.deployit.core.rest.json.MapStringSetStringJsonWriter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetSize(Map<String, Set<String>> map, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) booleanisWriteable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) voidwriteTo(Map<String, Set<String>> map, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream)
-
Constructor Details
-
MapStringSetStringJsonWriter
public MapStringSetStringJsonWriter()
-
-
Method Details
-
isWriteable
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType) -
getSize
-
writeTo
public void writeTo(Map<String, Set<String>> map, Class<?> type, Type genericType, Annotation[] annotations, jakarta.ws.rs.core.MediaType mediaType, jakarta.ws.rs.core.MultivaluedMap<String, throws IOException, jakarta.ws.rs.WebApplicationExceptionObject> httpHeaders, OutputStream entityStream) - Specified by:
writeToin interfacejakarta.ws.rs.ext.MessageBodyWriter<Map<String,Set<String>>> - Throws:
IOExceptionjakarta.ws.rs.WebApplicationException
-