public class WebEndpointServletAdapter extends Object
| Constructor and Description |
|---|
WebEndpointServletAdapter(AppConfig appConfig) |
| Modifier and Type | Method and Description |
|---|---|
WebEndpointRequest |
buildSlackRequest(javax.servlet.http.HttpServletRequest req) |
protected String |
doReadRequestBodyAsString(javax.servlet.http.HttpServletRequest req) |
void |
writeResponse(javax.servlet.http.HttpServletResponse resp,
Response slackResp) |
public WebEndpointServletAdapter(AppConfig appConfig)
public WebEndpointRequest buildSlackRequest(javax.servlet.http.HttpServletRequest req) throws IOException
IOExceptionprotected String doReadRequestBodyAsString(javax.servlet.http.HttpServletRequest req) throws IOException
IOExceptionpublic void writeResponse(javax.servlet.http.HttpServletResponse resp,
Response slackResp)
throws IOException
IOExceptionCopyright © 2020. All rights reserved.