Class OAuthCallbackRequest
- java.lang.Object
-
- com.slack.api.bolt.request.Request<OAuthCallbackContext>
-
- com.slack.api.bolt.request.builtin.OAuthCallbackRequest
-
public class OAuthCallbackRequest extends Request<OAuthCallbackContext>
-
-
Constructor Summary
Constructors Constructor Description OAuthCallbackRequest(Map<String,List<String>> queryString, String requestBody, VerificationCodePayload payload, RequestHeaders headers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OAuthCallbackContext
getContext()
The context behind this request.RequestHeaders
getHeaders()
VerificationCodePayload
getPayload()
Map<String,List<String>>
getQueryString()
String
getRequestBodyAsString()
RequestType
getRequestType()
String
getResponseUrl()
String
toString()
-
Methods inherited from class com.slack.api.bolt.request.Request
getClientIpAddress, isValid, isValid, setClientIpAddress, updateContext
-
-
-
-
Constructor Detail
-
OAuthCallbackRequest
public OAuthCallbackRequest(Map<String,List<String>> queryString, String requestBody, VerificationCodePayload payload, RequestHeaders headers)
-
-
Method Detail
-
getContext
public OAuthCallbackContext getContext()
Description copied from class:Request
The context behind this request.- Specified by:
getContext
in classRequest<OAuthCallbackContext>
-
getRequestType
public RequestType getRequestType()
- Specified by:
getRequestType
in classRequest<OAuthCallbackContext>
-
getQueryString
public Map<String,List<String>> getQueryString()
- Overrides:
getQueryString
in classRequest<OAuthCallbackContext>
-
getRequestBodyAsString
public String getRequestBodyAsString()
- Specified by:
getRequestBodyAsString
in classRequest<OAuthCallbackContext>
-
getHeaders
public RequestHeaders getHeaders()
- Specified by:
getHeaders
in classRequest<OAuthCallbackContext>
-
getPayload
public VerificationCodePayload getPayload()
-
getResponseUrl
public String getResponseUrl()
- Specified by:
getResponseUrl
in classRequest<OAuthCallbackContext>
-
toString
public String toString()
- Overrides:
toString
in classRequest<OAuthCallbackContext>
-
-