Created
March 21, 2014 02:37
-
-
Save tarynsauer/9678395 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private String parseRequest() throws IOException { | |
| String line = ""; | |
| StringBuilder stringBuilder = new StringBuilder(); | |
| while((line = clientRequest.readLine()) != null){ | |
| stringBuilder.append(line + "--break--"); | |
| if (line.equals("")) { | |
| return stringBuilder.toString() + "--break--" + parseRequestBody(); | |
| } | |
| } | |
| return stringBuilder.toString() + "--break--" + parseRequestBody(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment