From 99f28ae202280451b0a359a526643f3643472cfc Mon Sep 17 00:00:00 2001 From: Carsten Ziegeler Date: Wed, 4 Sep 2024 07:39:41 +0200 Subject: [PATCH] FELIX-6723 : Add missing filter wrappers --- .../jakartawrappers/FilterChainWrapper.java | 17 ++++++++++++++++- .../jakartawrappers/FilterConfigWrapper.java | 17 ++++++++++++++++- .../http/jakartawrappers/package-info.java | 2 +- .../felix/http/javaxwrappers/FilterWrapper.java | 17 ++++++++++++++++- .../felix/http/javaxwrappers/package-info.java | 2 +- 5 files changed, 50 insertions(+), 5 deletions(-) diff --git a/http/wrappers/src/main/java/org/apache/felix/http/jakartawrappers/FilterChainWrapper.java b/http/wrappers/src/main/java/org/apache/felix/http/jakartawrappers/FilterChainWrapper.java index e5ef3bacfa..183a3aea5b 100644 --- a/http/wrappers/src/main/java/org/apache/felix/http/jakartawrappers/FilterChainWrapper.java +++ b/http/wrappers/src/main/java/org/apache/felix/http/jakartawrappers/FilterChainWrapper.java @@ -1,6 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.apache.felix.http.jakartawrappers; - import java.io.IOException; import javax.servlet.FilterChain; diff --git a/http/wrappers/src/main/java/org/apache/felix/http/jakartawrappers/FilterConfigWrapper.java b/http/wrappers/src/main/java/org/apache/felix/http/jakartawrappers/FilterConfigWrapper.java index fc1d6828ba..f625a6916d 100644 --- a/http/wrappers/src/main/java/org/apache/felix/http/jakartawrappers/FilterConfigWrapper.java +++ b/http/wrappers/src/main/java/org/apache/felix/http/jakartawrappers/FilterConfigWrapper.java @@ -1,6 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.apache.felix.http.jakartawrappers; - import java.util.Enumeration; import javax.servlet.FilterConfig; diff --git a/http/wrappers/src/main/java/org/apache/felix/http/jakartawrappers/package-info.java b/http/wrappers/src/main/java/org/apache/felix/http/jakartawrappers/package-info.java index d5e91b2e87..f6b03aec43 100644 --- a/http/wrappers/src/main/java/org/apache/felix/http/jakartawrappers/package-info.java +++ b/http/wrappers/src/main/java/org/apache/felix/http/jakartawrappers/package-info.java @@ -16,6 +16,6 @@ * specific language governing permissions and limitations * under the License. */ -@org.osgi.annotation.versioning.Version("1.1.2") +@org.osgi.annotation.versioning.Version("1.2.0") package org.apache.felix.http.jakartawrappers; diff --git a/http/wrappers/src/main/java/org/apache/felix/http/javaxwrappers/FilterWrapper.java b/http/wrappers/src/main/java/org/apache/felix/http/javaxwrappers/FilterWrapper.java index e805cd6b66..239c971de4 100644 --- a/http/wrappers/src/main/java/org/apache/felix/http/javaxwrappers/FilterWrapper.java +++ b/http/wrappers/src/main/java/org/apache/felix/http/javaxwrappers/FilterWrapper.java @@ -1,6 +1,21 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ package org.apache.felix.http.javaxwrappers; - import java.io.IOException; import javax.servlet.Filter; diff --git a/http/wrappers/src/main/java/org/apache/felix/http/javaxwrappers/package-info.java b/http/wrappers/src/main/java/org/apache/felix/http/javaxwrappers/package-info.java index 64e4b940bd..4e2be77937 100644 --- a/http/wrappers/src/main/java/org/apache/felix/http/javaxwrappers/package-info.java +++ b/http/wrappers/src/main/java/org/apache/felix/http/javaxwrappers/package-info.java @@ -16,6 +16,6 @@ * specific language governing permissions and limitations * under the License. */ -@org.osgi.annotation.versioning.Version("1.1.2") +@org.osgi.annotation.versioning.Version("1.2.0") package org.apache.felix.http.javaxwrappers;