Uses of Enum Class
com.bonitasoft.processbuilder.enums.RestContentType
Packages that use RestContentType
Package
Description
Provides enumerations (enums) for defining and managing a set of named constants
used throughout the application.
Provides Record classes (available in Java 16 and later) which serve as
containers for immutable and transparent data structures.
-
Uses of RestContentType in com.bonitasoft.processbuilder.enums
Methods in com.bonitasoft.processbuilder.enums that return RestContentTypeModifier and TypeMethodDescriptionstatic RestContentTypeReturns the enum constant of this class with the specified name.static RestContentType[]RestContentType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.bonitasoft.processbuilder.enums that return types with arguments of type RestContentTypeModifier and TypeMethodDescriptionstatic Optional<RestContentType>RestContentType.fromMimeType(String mimeType) Finds a content type by its MIME type (case-insensitive). -
Uses of RestContentType in com.bonitasoft.processbuilder.records
Methods in com.bonitasoft.processbuilder.records that return RestContentTypeModifier and TypeMethodDescriptionRestServiceRequest.contentType()Returns the value of thecontentTyperecord component.RestServiceResponse.contentType()Returns the value of thecontentTyperecord component.Methods in com.bonitasoft.processbuilder.records with parameters of type RestContentTypeModifier and TypeMethodDescriptionRestServiceRequest.Builder.contentType(RestContentType contentType) static RestServiceResponseRestServiceResponse.success(int statusCode, Map<String, String> headers, String body, RestContentType contentType, long executionTimeMs, String url) Creates a successful response.Constructors in com.bonitasoft.processbuilder.records with parameters of type RestContentTypeModifierConstructorDescriptionRestServiceRequest(String url, RestHttpMethod method, Map<String, String> headers, Map<String, String> queryParams, String body, RestContentType contentType, RestAuthConfig auth, int timeoutMs, boolean followRedirects, boolean verifySsl) Compact constructor with validation and defaults.RestServiceResponse(int statusCode, Map<String, String> headers, String body, RestContentType contentType, long executionTimeMs, String errorMessage, String url) Compact constructor with defaults.