Package com.slack.api.bolt.response
Class Response
java.lang.Object
com.slack.api.bolt.response.Response
HTTP response to the Slack API server.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Response.ResponseBuilderbuilder()protected booleanbooleanstatic ResponsegetBody()inthashCode()static Responsestatic Responseok()static ResponsevoidvoidsetContentType(String contentType) voidsetHeaders(Map<String, List<String>> headers) voidsetStatusCode(Integer statusCode) toString()
-
Field Details
-
CONTENT_TYPE_APPLICATION_JSON
Deprecated.This is no longer used. Use CONTENT_TYPE_APPLICATION_JSON_UTF8 instead.- See Also:
-
CONTENT_TYPE_APPLICATION_JSON_UTF8
- See Also:
-
-
Constructor Details
-
Response
public Response() -
Response
-
-
Method Details