Uses of Record Class
com.bonitasoft.processbuilder.records.RestServiceResponse
Packages that use RestServiceResponse
Package
Description
Execution engine for REST and SMTP connectors.
Provides Record classes (available in Java 16 and later) which serve as
containers for immutable and transparent data structures.
-
Uses of RestServiceResponse in com.bonitasoft.processbuilder.execution
Methods in com.bonitasoft.processbuilder.execution that return RestServiceResponseModifier and TypeMethodDescriptionHttpExecutor.execute(RestServiceRequest request) Executes a REST service request. -
Uses of RestServiceResponse in com.bonitasoft.processbuilder.records
Methods in com.bonitasoft.processbuilder.records that return RestServiceResponseModifier and TypeMethodDescriptionstatic RestServiceResponseCreates an error response.static RestServiceResponseRestServiceResponse.fromException(Exception exception, long executionTimeMs, String url) Creates an error response from an exception.static RestServiceResponseRestServiceResponse.success(int statusCode, Map<String, String> headers, String body, RestContentType contentType, long executionTimeMs, String url) Creates a successful response.Creates a copy of this response with a different body.Creates a copy of this response with a different error message.