From f6c1deeaa4b8b4c3fe1f4f3bbf8c4e5e8e09a67f Mon Sep 17 00:00:00 2001 From: Matej Novotny Date: Mon, 13 Jun 2022 18:09:57 +0200 Subject: [PATCH] Update several API versions --- pom.xml | 8 +++--- .../spi/test/MockHttpServletRequest.java | 26 ++++++++++++------- 2 files changed, 20 insertions(+), 14 deletions(-) diff --git a/pom.xml b/pom.xml index d8cd4c87..60fa449d 100644 --- a/pom.xml +++ b/pom.xml @@ -102,14 +102,14 @@ 2.1.0 2.0.1 - 4.0.0 - 4.0.0 + 4.0.1 + 4.0.1 3.1.0 3.1.0 2.0.1 2.1.0 - 5.0.0 - 3.0.1 + 6.0.0 + 3.0.2 diff --git a/weld-spi/src/test/java/org/jboss/weld/servlet/spi/test/MockHttpServletRequest.java b/weld-spi/src/test/java/org/jboss/weld/servlet/spi/test/MockHttpServletRequest.java index f4d4e032..10f5afa4 100644 --- a/weld-spi/src/test/java/org/jboss/weld/servlet/spi/test/MockHttpServletRequest.java +++ b/weld-spi/src/test/java/org/jboss/weld/servlet/spi/test/MockHttpServletRequest.java @@ -12,6 +12,7 @@ import jakarta.servlet.AsyncContext; import jakarta.servlet.DispatcherType; import jakarta.servlet.RequestDispatcher; +import jakarta.servlet.ServletConnection; import jakarta.servlet.ServletContext; import jakarta.servlet.ServletException; import jakarta.servlet.ServletInputStream; @@ -164,11 +165,6 @@ public RequestDispatcher getRequestDispatcher(String path) { throw new UnsupportedOperationException(); } - @Override - public String getRealPath(String path) { - throw new UnsupportedOperationException(); - } - @Override public int getRemotePort() { throw new UnsupportedOperationException(); @@ -294,11 +290,6 @@ public boolean isRequestedSessionIdFromURL() { throw new UnsupportedOperationException(); } - @Override - public boolean isRequestedSessionIdFromUrl() { - throw new UnsupportedOperationException(); - } - @Override public String getServletPath() { throw new UnsupportedOperationException(); @@ -314,6 +305,21 @@ public DispatcherType getDispatcherType() { return null; } + @Override + public String getRequestId() { + return null; + } + + @Override + public String getProtocolRequestId() { + return null; + } + + @Override + public ServletConnection getServletConnection() { + return null; + } + @Override public ServletContext getServletContext() { return null;