|
|
bfe61b8 |
From 9766baf4875526f85e613b26fa83d25b889552b4 Mon Sep 17 00:00:00 2001
|
|
|
bfe61b8 |
From: Mat Booth <mat.booth@redhat.com>
|
|
|
bfe61b8 |
Date: Wed, 19 Aug 2020 15:52:04 +0100
|
|
|
bfe61b8 |
Subject: [PATCH 2/2] Port to latest version of Servlet API
|
|
|
bfe61b8 |
|
|
|
bfe61b8 |
---
|
|
|
bfe61b8 |
.../jasper/servlet/JspCServletContext.java | 41 +++++++++++++++++++
|
|
|
bfe61b8 |
1 file changed, 41 insertions(+)
|
|
|
bfe61b8 |
|
|
|
bfe61b8 |
diff --git a/impl/src/main/java/org/apache/jasper/servlet/JspCServletContext.java b/impl/src/main/java/org/apache/jasper/servlet/JspCServletContext.java
|
|
|
bfe61b8 |
index ff89225..3d41919 100644
|
|
|
bfe61b8 |
--- a/impl/src/main/java/org/apache/jasper/servlet/JspCServletContext.java
|
|
|
bfe61b8 |
+++ b/impl/src/main/java/org/apache/jasper/servlet/JspCServletContext.java
|
|
|
bfe61b8 |
@@ -883,4 +883,45 @@ public class JspCServletContext implements ServletContext {
|
|
|
bfe61b8 |
return this.jspPropertyGroups;
|
|
|
bfe61b8 |
}
|
|
|
bfe61b8 |
}
|
|
|
bfe61b8 |
+
|
|
|
bfe61b8 |
+ @Override
|
|
|
bfe61b8 |
+ public String getVirtualServerName() {
|
|
|
bfe61b8 |
+ // TODO new in 3.1
|
|
|
bfe61b8 |
+ throw new UnsupportedOperationException("Not implemented yet");
|
|
|
bfe61b8 |
+ }
|
|
|
bfe61b8 |
+
|
|
|
bfe61b8 |
+ public int getSessionTimeout() {
|
|
|
bfe61b8 |
+ // TODO new in 4.0
|
|
|
bfe61b8 |
+ throw new UnsupportedOperationException("Not implemented yet");
|
|
|
bfe61b8 |
+ }
|
|
|
bfe61b8 |
+
|
|
|
bfe61b8 |
+ public void setSessionTimeout(int sessionTimeout) {
|
|
|
bfe61b8 |
+ // TODO new in 4.0
|
|
|
bfe61b8 |
+ throw new UnsupportedOperationException("Not implemented yet");
|
|
|
bfe61b8 |
+ }
|
|
|
bfe61b8 |
+
|
|
|
bfe61b8 |
+ public String getRequestCharacterEncoding() {
|
|
|
bfe61b8 |
+ // TODO new in 4.0
|
|
|
bfe61b8 |
+ throw new UnsupportedOperationException("Not implemented yet");
|
|
|
bfe61b8 |
+ }
|
|
|
bfe61b8 |
+
|
|
|
bfe61b8 |
+ public void setRequestCharacterEncoding(String encoding) {
|
|
|
bfe61b8 |
+ // TODO new in 4.0
|
|
|
bfe61b8 |
+ throw new UnsupportedOperationException("Not implemented yet");
|
|
|
bfe61b8 |
+ }
|
|
|
bfe61b8 |
+
|
|
|
bfe61b8 |
+ public String getResponseCharacterEncoding() {
|
|
|
bfe61b8 |
+ // TODO new in 4.0
|
|
|
bfe61b8 |
+ throw new UnsupportedOperationException("Not implemented yet");
|
|
|
bfe61b8 |
+ }
|
|
|
bfe61b8 |
+
|
|
|
bfe61b8 |
+ public void setResponseCharacterEncoding(String encoding) {
|
|
|
bfe61b8 |
+ // TODO new in 4.0
|
|
|
bfe61b8 |
+ throw new UnsupportedOperationException("Not implemented yet");
|
|
|
bfe61b8 |
+ }
|
|
|
bfe61b8 |
+
|
|
|
bfe61b8 |
+ public ServletRegistration.Dynamic addJspFile(String servletName, String jspFile) {
|
|
|
bfe61b8 |
+ // TODO new in 4.0
|
|
|
bfe61b8 |
+ throw new UnsupportedOperationException("Not implemented yet");
|
|
|
bfe61b8 |
+ }
|
|
|
bfe61b8 |
}
|
|
|
bfe61b8 |
--
|
|
|
bfe61b8 |
2.26.2
|
|
|
bfe61b8 |
|