Skip to content
This repository was archived by the owner on Jul 31, 2022. It is now read-only.

Commit 107f3ad

Browse files
authored
Updated exchange documentation (#29)
Updated exchange documentation
1 parent 7296687 commit 107f3ad

File tree

1 file changed

+18
-14
lines changed

1 file changed

+18
-14
lines changed

src/main/java/com/kttdevelopment/simplehttpserver/SimpleHttpExchange.java

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,23 +18,27 @@
1818
* Example:
1919
* <pre>
2020
* {
21-
* name : {
22-
* headers: {
23-
* Content-Disposition : {
24-
* header-name: "Content-Disposition",
25-
* header-value: "form-data",
26-
* parameters: [
27-
* filename: "file.txt",
28-
* name: "file"
29-
* ]
21+
* "name_of_key" : {
22+
* "headers": { },
23+
* "value": ""
24+
* },
25+
* "name_of_file_key": {
26+
* "headers": {
27+
* "Content-Disposition": {
28+
* "header-name": "Content-Disposition",
29+
* "header-value": "form-data",
30+
* "parameters": {
31+
* "filename": "file.txt",
32+
* "name": "file"
33+
* }
3034
* },
31-
* Content-Type: {
32-
* header-name: "Content-Type",
33-
* header-value: "text/plain",
34-
* parameters: []
35+
* "Content-Type": {
36+
* "header-name": "Content-Type",
37+
* "header-value": "text/plain",
38+
* "parameters": {}
3539
* }
3640
* },
37-
* value: "file content"
41+
* "value": "value in bytes"
3842
* }
3943
* }
4044
* </pre>

0 commit comments

Comments
 (0)