|
|
|
@ -9,15 +9,14 @@ import java.security.Principal;
|
|
|
|
|
import java.util.*;
|
|
|
|
|
|
|
|
|
|
public class AbstractHttpServletRequest implements HttpServletRequest {
|
|
|
|
|
// This method is overridden from the Part interface and is used to get a Part object from the request
|
|
|
|
|
@Override
|
|
|
|
|
public Part getPart(String s) throws IOException, ServletException {
|
|
|
|
|
// This method returns null as there is no implementation for it
|
|
|
|
|
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();
|
|
|
|
|
}
|
|
|
|
|
//hello
|
|
|
|
|