-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Separate WebFilter from main library
- Loading branch information
1 parent
1a2fdcf
commit 7b01ebb
Showing
5 changed files
with
22 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
plugins { | ||
id 'java-library' | ||
} | ||
|
||
ext.title = 'SiteMesh WebFilter' | ||
description = 'SiteMesh WebFilter' | ||
|
||
dependencies { | ||
api 'jakarta.servlet:jakarta.servlet-api:6.0.0' | ||
api project(':sitemesh') | ||
} |
9 changes: 9 additions & 0 deletions
9
sitemesh-webfilter/src/main/java/org/sitemesh/config/Sitemesh.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package org.sitemesh.config; | ||
|
||
import jakarta.servlet.annotation.WebFilter; | ||
import jakarta.servlet.DispatcherType; | ||
|
||
@WebFilter(filterName="sitemesh", urlPatterns="/*", | ||
dispatcherTypes = { DispatcherType.REQUEST, DispatcherType.ERROR } ) | ||
public class Sitemesh extends ConfigurableSiteMeshFilter { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters