Skip to content

Commit

Permalink
fix: Content-Length 상수 은닉
Browse files Browse the repository at this point in the history
  • Loading branch information
BGuga committed Sep 14, 2023
1 parent 5813104 commit 21e6e10
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class HttpRequestHeaders {
private static final String HEADER_SEPARATOR = System.lineSeparator();
private static final String HEADER_KEY_VALUE_SPLIT = ":";
private static final String COOKIE = "Cookie";
public static final String CONTENT_LENGTH = "Content-Length";
private static final String CONTENT_LENGTH = "Content-Length";

private final Map<String, String> headers;
private final Optional<Cookies> cookies;
Expand Down Expand Up @@ -55,11 +55,11 @@ public Optional<String> contentLength() {
return Optional.ofNullable(headers.get(CONTENT_LENGTH));
}

public Map<String, String> getHeaders() {
return headers;
}

public Optional<Cookies> getCookie() {
return cookies;
}

public Map<String, String> getHeaders() {
return headers;
}
}

0 comments on commit 21e6e10

Please sign in to comment.