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
Copy file name to clipboardExpand all lines: aws-serverless-java-container-core/src/main/java/com/amazonaws/serverless/proxy/internal/servlet/AwsHttpServletRequest.java
+48-66Lines changed: 48 additions & 66 deletions
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,8 @@
24
24
importjava.net.URLEncoder;
25
25
importjava.nio.charset.StandardCharsets;
26
26
importjava.util.*;
27
+
importjava.util.stream.Collectors;
28
+
27
29
28
30
/**
29
31
* Base HttpServletRequest object. This object exposes some utility methods to work with request values such as headers
@@ -52,8 +54,7 @@ public abstract class AwsHttpServletRequest implements HttpServletRequest {
Copy file name to clipboardExpand all lines: aws-serverless-java-container-core/src/main/java/com/amazonaws/serverless/proxy/internal/servlet/AwsLambdaServletContainerHandler.java
Copy file name to clipboardExpand all lines: aws-serverless-java-container-core/src/main/java/com/amazonaws/serverless/proxy/internal/servlet/AwsProxyHttpServletRequest.java
+21-9Lines changed: 21 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,20 @@
44
44
importjava.security.Principal;
45
45
importjava.text.ParseException;
46
46
importjava.text.SimpleDateFormat;
47
-
importjava.util.*;
47
+
importjava.util.ArrayList;
48
+
importjava.util.Arrays;
49
+
importjava.util.Base64;
50
+
importjava.util.Collection;
51
+
importjava.util.Collections;
52
+
importjava.util.Date;
53
+
importjava.util.Enumeration;
54
+
importjava.util.HashMap;
55
+
importjava.util.Iterator;
56
+
importjava.util.List;
57
+
importjava.util.Locale;
58
+
importjava.util.Map;
59
+
importjava.util.TreeMap;
60
+
48
61
49
62
/**
50
63
* Implementation of the <code>HttpServletRequest</code> interface that supports <code>AwsProxyRequest</code> object.
@@ -93,7 +106,7 @@ public Cookie[] getCookies() {
93
106
if (cookieHeader == null) {
94
107
returnnewCookie[0];
95
108
}
96
-
returnthis.parseCookies(cookieHeader);
109
+
returnthis.parseCookieHeaderValue(cookieHeader);
97
110
}
98
111
99
112
@@ -233,21 +246,20 @@ public String getServletPath() {
Copy file name to clipboardExpand all lines: aws-serverless-java-container-core/src/main/java/com/amazonaws/serverless/proxy/internal/servlet/AwsServletContext.java
+15-7Lines changed: 15 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,14 @@
35
35
importjava.net.URL;
36
36
importjava.nio.file.Files;
37
37
importjava.nio.file.Paths;
38
-
importjava.util.*;
38
+
importjava.util.Collections;
39
+
importjava.util.Enumeration;
40
+
importjava.util.EventListener;
41
+
importjava.util.HashMap;
42
+
importjava.util.LinkedHashMap;
43
+
importjava.util.Map;
44
+
importjava.util.Set;
45
+
39
46
40
47
/**
41
48
* Basic implementation of the <code>ServletContext</code> object. Because this library is not a complete container
@@ -50,12 +57,13 @@ public class AwsServletContext
Copy file name to clipboardExpand all lines: aws-serverless-java-container-core/src/main/java/com/amazonaws/serverless/proxy/internal/servlet/FilterChainHolder.java
0 commit comments