Skip to content

Commit 53820c7

Browse files
committed
https://github.com/eclipse-ee4j/faces-api/issues/1586
Add missing implementations of new methods introduced in Servlet 6.0.0
1 parent 019962a commit 53820c7

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

impl/src/test/java/com/sun/faces/mock/MockHttpServletRequest.java

+16
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
import jakarta.servlet.AsyncContext;
3030
import jakarta.servlet.DispatcherType;
3131
import jakarta.servlet.RequestDispatcher;
32+
import jakarta.servlet.ServletConnection;
3233
import jakarta.servlet.ServletContext;
3334
import jakarta.servlet.ServletException;
3435
import jakarta.servlet.ServletInputStream;
@@ -487,4 +488,19 @@ public <T extends HttpUpgradeHandler> T upgrade(Class<T> handlerClass) throws IO
487488
public long getContentLengthLong() {
488489
throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates.
489490
}
491+
492+
@Override
493+
public String getRequestId() {
494+
throw new UnsupportedOperationException("Not supported yet.");
495+
}
496+
497+
@Override
498+
public String getProtocolRequestId() {
499+
throw new UnsupportedOperationException("Not supported yet.");
500+
}
501+
502+
@Override
503+
public ServletConnection getServletConnection() {
504+
throw new UnsupportedOperationException("Not supported yet.");
505+
}
490506
}

0 commit comments

Comments
 (0)