Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Jetty12 missing headers impl #2140

Merged
merged 1 commit into from
Nov 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,15 @@ public String getHeader(String name) {
return request.getHeaders().get(name);
}

@Override
public List<String> getHeaders(String name) {
Enumeration<String> headers = request.getHeaders().getValues(name);
if (headers == null) {
return Collections.emptyList();
}
return Collections.list(headers);
}

@Override
public String getRequestURI() {
return request.getHttpURI().getPath();
Expand Down Expand Up @@ -88,4 +97,5 @@ public String getCookieValue(String name) {
}
return null;
}

}
Loading