Class MapStringStringJsonWriter
java.lang.Object
com.xebialabs.deployit.core.rest.json.MapStringStringJsonWriter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetSize(Map<String, 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, 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
-
MapStringStringJsonWriter
public MapStringStringJsonWriter()
-
-
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, 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,String>> - Throws:
IOExceptionjakarta.ws.rs.WebApplicationException
-