同意合并

feature/tx^2
pswqm3ot6 9 months ago
parent bf59cec8b9
commit 43aff08624

@ -9,13 +9,17 @@ import java.security.Principal;
import java.util.*; import java.util.*;
public class AbstractHttpServletRequest implements HttpServletRequest { public class AbstractHttpServletRequest implements HttpServletRequest {
// This method returns a Part object based on the given string parameter
@Override @Override
public Part getPart(String s) throws IOException, ServletException { public Part getPart(String s) throws IOException, ServletException {
// Return null as there are no parts
return null; return null;
} }
// This method returns a collection of Part objects
@Override @Override
public Collection<Part> getParts() throws IOException, ServletException { public Collection<Part> getParts() throws IOException, ServletException {
// Return an empty list as there are no parts
return List.of(); return List.of();
} }

Loading…
Cancel
Save