Uses of Class
software.xdev.mailpit.client.ApiException
Packages that use ApiException
-
Uses of ApiException in software.xdev.mailpit.api
Methods in software.xdev.mailpit.api that throw ApiExceptionModifier and TypeMethodDescriptionApplicationApi.appInformation()Get application information Returns basic runtime information, message totals and latest release version.ApplicationApi.appInformation(Map<String, String> additionalHeaders) Get application information Returns basic runtime information, message totals and latest release version.MessageApi.attachmentParams(String ID, String partID) Get message attachment This will return the attachment part using the appropriate Content-Type.Get message attachment This will return the attachment part using the appropriate Content-Type.MessagesApi.deleteMessagesParams(DeleteMessagesParamsRequest body) Delete messages Delete individual or all messages.MessagesApi.deleteMessagesParams(DeleteMessagesParamsRequest body, Map<String, String> additionalHeaders) Delete messages Delete individual or all messages.MessagesApi.deleteSearchParams(String query, String tz) Delete messages by search Delete all messages matching [a search](https://mailpit.axllent.org/docs/usage/search-filters/).Delete messages by search Delete all messages matching [a search](https://mailpit.axllent.org/docs/usage/search-filters/).TagsApi.deleteTagParams(String tag) Delete a tag Deletes a tag.TagsApi.deleteTagParams(String tag, Map<String, String> additionalHeaders) Delete a tag Deletes a tag.MessageApi.downloadRawParams(String ID) Get message source Returns the full email source as plain text.MessageApi.downloadRawParams(String ID, Map<String, String> additionalHeaders) Get message source Returns the full email source as plain text.TagsApi.getAllTags()Get all current tags Returns a JSON array of all unique message tags.TagsApi.getAllTags(Map<String, String> additionalHeaders) Get all current tags Returns a JSON array of all unique message tags.TestingApi.getChaos()Get Chaos triggers Returns the current Chaos triggers configuration.Get Chaos triggers Returns the current Chaos triggers configuration.MessageApi.getHeadersParams(String ID) Get message headers Returns the message headers as an array.MessageApi.getHeadersParams(String ID, Map<String, String> additionalHeaders) Get message headers Returns the message headers as an array.TestingApi.getMessageHTMLParams(String ID, String embed) Render message HTML part Renders just the message's HTML part which can be used for UI integration testing.Render message HTML part Renders just the message's HTML part which can be used for UI integration testing.MessageApi.getMessageParams(String ID) Get message summary Returns the summary of a message, marking the message as read.MessageApi.getMessageParams(String ID, Map<String, String> additionalHeaders) Get message summary Returns the summary of a message, marking the message as read.MessagesApi.getMessagesParams(Long start, Long limit) List messages Returns messages from the mailbox ordered from newest to oldest.List messages Returns messages from the mailbox ordered from newest to oldest.TestingApi.getMessageTextParams(String ID) Render message text part Renders just the message's text part which can be used for UI integration testing.TestingApi.getMessageTextParams(String ID, Map<String, String> additionalHeaders) Render message text part Renders just the message's text part which can be used for UI integration testing.OtherApi.hTMLCheckParams(String ID) HTML check Returns the summary of the message HTML checker.OtherApi.hTMLCheckParams(String ID, Map<String, String> additionalHeaders) HTML check Returns the summary of the message HTML checker.<T> TApplicationApi.invokeAPI(String url, String method, Object request, com.fasterxml.jackson.core.type.TypeReference<T> returnType, Map<String, String> additionalHeaders) <T> TMessageApi.invokeAPI(String url, String method, Object request, com.fasterxml.jackson.core.type.TypeReference<T> returnType, Map<String, String> additionalHeaders) <T> TMessagesApi.invokeAPI(String url, String method, Object request, com.fasterxml.jackson.core.type.TypeReference<T> returnType, Map<String, String> additionalHeaders) <T> TOtherApi.invokeAPI(String url, String method, Object request, com.fasterxml.jackson.core.type.TypeReference<T> returnType, Map<String, String> additionalHeaders) <T> TTagsApi.invokeAPI(String url, String method, Object request, com.fasterxml.jackson.core.type.TypeReference<T> returnType, Map<String, String> additionalHeaders) <T> TTestingApi.invokeAPI(String url, String method, Object request, com.fasterxml.jackson.core.type.TypeReference<T> returnType, Map<String, String> additionalHeaders) OtherApi.linkCheckParams(String ID, String follow) Link check Returns the summary of the message Link checker.Link check Returns the summary of the message Link checker.MessageApi.releaseMessageParams(String ID, ReleaseMessageParamsRequest body) Release message Release a message via a pre-configured external SMTP server.MessageApi.releaseMessageParams(String ID, ReleaseMessageParamsRequest body, Map<String, String> additionalHeaders) Release message Release a message via a pre-configured external SMTP server.TagsApi.renameTagParams(String tag, RenameTagParamsRequest body) Rename a tag Renames an existing tag.TagsApi.renameTagParams(String tag, RenameTagParamsRequest body, Map<String, String> additionalHeaders) Rename a tag Renames an existing tag.MessagesApi.searchParams(String query, String start, String limit, String tz) Search messages Returns messages matching [a search](https://mailpit.axllent.org/docs/usage/search-filters/), sorted by received date (descending).MessagesApi.searchParams(String query, String start, String limit, String tz, Map<String, String> additionalHeaders) Search messages Returns messages matching [a search](https://mailpit.axllent.org/docs/usage/search-filters/), sorted by received date (descending).MessageApi.sendMessageParams(SendMessageParamsRequest body) Send a message Send a message via the HTTP API.MessageApi.sendMessageParams(SendMessageParamsRequest body, Map<String, String> additionalHeaders) Send a message Send a message via the HTTP API.TestingApi.setChaosParams(ChaosTriggers body) Set Chaos triggers Set the Chaos triggers configuration and return the updated values.TestingApi.setChaosParams(ChaosTriggers body, Map<String, String> additionalHeaders) Set Chaos triggers Set the Chaos triggers configuration and return the updated values.MessagesApi.setReadStatusParams(String tz, SetReadStatusParamsRequest body) Set read status You can optionally provide an array of IDs or a search string.MessagesApi.setReadStatusParams(String tz, SetReadStatusParamsRequest body, Map<String, String> additionalHeaders) Set read status You can optionally provide an array of IDs or a search string.TagsApi.setTagsParams(SetTagsParamsRequest body) Set message tags This will overwrite any existing tags for selected message database IDs.TagsApi.setTagsParams(SetTagsParamsRequest body, Map<String, String> additionalHeaders) Set message tags This will overwrite any existing tags for selected message database IDs.OtherApi.spamAssassinCheckParams(String ID) SpamAssassin check Returns the SpamAssassin summary (if enabled) of the message.OtherApi.spamAssassinCheckParams(String ID, Map<String, String> additionalHeaders) SpamAssassin check Returns the SpamAssassin summary (if enabled) of the message.MessageApi.thumbnailParams(String ID, String partID) Get an attachment image thumbnail This will return a cropped 180x120 JPEG thumbnail of an image attachment.Get an attachment image thumbnail This will return a cropped 180x120 JPEG thumbnail of an image attachment.ApplicationApi.webUIConfigurationResponse()Get web UI configuration Returns configuration settings for the web UI.ApplicationApi.webUIConfigurationResponse(Map<String, String> additionalHeaders) Get web UI configuration Returns configuration settings for the web UI. -
Uses of ApiException in software.xdev.mailpit.client
Methods in software.xdev.mailpit.client that throw ApiExceptionModifier and TypeMethodDescription<T> TApiClient.deserialize(org.apache.hc.client5.http.impl.classic.CloseableHttpResponse response, com.fasterxml.jackson.core.type.TypeReference<T> valueType) Deserialize response body to Java object according to the Content-Type.protected org.apache.hc.core5.http.ContentTypeApiClient.getContentType(String headerValue) Parse content type object from header valueprotected StringApiClient.getResponseMimeType(org.apache.hc.core5.http.HttpResponse response) Get content type of a response or null if one was not provided<T> TApiClient.invokeAPI(String path, String method, List<Pair> queryParams, List<Pair> collectionQueryParams, String urlQueryDeepObject, Object body, Map<String, String> headerParams, Map<String, String> cookieParams, Map<String, Object> formParams, String accept, String contentType, String[] authNames, com.fasterxml.jackson.core.type.TypeReference<T> returnType) Invoke API by sending HTTP request with the given options.voidDirectly invoke the API for the given URL.<T> TBaseApi.invokeAPI(String url, String method, com.fasterxml.jackson.core.type.TypeReference<T> returnType) Directly invoke the API for the given URL.voidDirectly invoke the API for the given URL.<T> TBaseApi.invokeAPI(String url, String method, Object request, com.fasterxml.jackson.core.type.TypeReference<T> returnType) Directly invoke the API for the given URL.abstract <T> TBaseApi.invokeAPI(String url, String method, Object request, com.fasterxml.jackson.core.type.TypeReference<T> returnType, Map<String, String> additionalHeaders) Directly invoke the API for the given URL.voidDirectly invoke the API for the given URL.voidDirectly invoke the API for the given URL.protected <T> TApiClient.processResponse(org.apache.hc.client5.http.impl.classic.CloseableHttpResponse response, com.fasterxml.jackson.core.type.TypeReference<T> returnType) org.apache.hc.core5.http.HttpEntityApiClient.serialize(Object obj, Map<String, Object> formParams, org.apache.hc.core5.http.ContentType contentType) Serialize the given Java object into string according the given Content-Type (only JSON is supported for now).