feature/wyh
wyh 9 months ago
parent bf59cec8b9
commit 7b63b0ab88

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

Loading…
Cancel
Save