Uses of Enum Class
dev.galasa.http.ContentType
-
Uses of ContentType in dev.galasa.http
Modifier and TypeMethodDescriptionstatic ContentType
ContentType.fromMimeTypeString
(String mimeTypeString) Get theContentType
for a mime type stringstatic ContentType
ContentType.get
(org.apache.http.HttpEntity e) static ContentType
Returns the enum constant of this class with the specified name.static ContentType[]
ContentType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionorg.apache.http.client.methods.CloseableHttpResponse
IHttpClient.getFile
(String path, ContentType... acceptTypes) Download a file from a specified location to a specified destination on local host.IHttpClient.post
(String path, Map<String, String> queryParams, ContentType contentType, Object data, ContentType[] acceptTypes, Class<?>[] jaxbClasses, boolean retry) IHttpClient.postForm
(String path, Map<String, String> queryParams, HashMap<String, String> fields, ContentType[] acceptTypes, Class<?>[] jaxbClasses, boolean retry)