Guest User

Untitled

a guest
Oct 16th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. java.lang.ClassCastException: org.apache.catalina.connector.RequestFacade cannot be cast to javax.servlet.ServletRequet
  2.  
  3. ServletRequest httpServletRequest = (ServletRequest)paramValues[0];
  4. String jsonString = IOUtils.toString(httpServletRequest.getInputStream());
  5.  
  6. String methodType = httpServletRequest.getMethod();
  7. String contentType = httpServletRequest.getContentType();
Add Comment
Please, Sign In to add comment