You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 31, 2022. It is now read-only.
Copy file name to clipboardExpand all lines: src/main/java/com/kttdevelopment/simplehttpserver/SimpleHttpExchange.java
+2-29Lines changed: 2 additions & 29 deletions
Original file line number
Diff line number
Diff line change
@@ -13,34 +13,7 @@
13
13
* <i>This class is a simplified implementation of {@link HttpExchange}</i>. <br>
14
14
* This class provides methods to process requests from the client and send a response back. The handler will keep executing until a response is sent.<br><br>
15
15
* Get/post type requests for <code>application/x-www-form-urlencoded</code> (default) will be a simple key/value map. <br>
16
-
* Get/post type requests for <code>multipart/form-data</code> will use an expanded map. <br>
17
-
* Example:
18
-
* <pre>
19
-
* {
20
-
* "name_of_key" : {
21
-
* "headers": { },
22
-
* "value": ""
23
-
* },
24
-
* "name_of_file_key": {
25
-
* "headers": {
26
-
* "Content-Disposition": {
27
-
* "header-name": "Content-Disposition",
28
-
* "header-value": "form-data",
29
-
* "parameters": {
30
-
* "filename": "file.txt",
31
-
* "name": "file"
32
-
* }
33
-
* },
34
-
* "Content-Type": {
35
-
* "header-name": "Content-Type",
36
-
* "header-value": "text/plain",
37
-
* "parameters": {}
38
-
* }
39
-
* },
40
-
* "value": "value in bytes"
41
-
* }
42
-
* }
43
-
* </pre>
16
+
* Get/post type requests for <code>multipart/form-data</code> will use a {@link MultipartFormData}. <br>
44
17
* If a file is submitted the value will be in bytes unless it is plain text.
0 commit comments