Skip to content

Commit

Permalink
Update MockHttpServletRequest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
bgprudhomme authored Aug 3, 2024
1 parent 9703fe0 commit 07da8b6
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ public class MockHttpServletRequest implements HttpServletRequest {
private String requestURL = "http://example.org/path";
private final Map<String, List<String>> headers = new HashMap<>();

@Override
public String getProtocolRequestId() {
return null;
}

@Override
public boolean authenticate(HttpServletResponse httpServletResponse) {
return false;
Expand All @@ -49,7 +54,7 @@ public AsyncContext getAsyncContext() {
}

@Override
public Object getAttribute(String s) {
public Object getAttribute(String name) {
return null;
}

Expand Down

0 comments on commit 07da8b6

Please sign in to comment.