Registry / web-framework / cors-filter

cors-filter

JSON →
library2.9.1javamavenunverified

CORS Filter is a universal solution for fitting Cross-Origin Resource Sharing (CORS) support to Java web applications.

<dependency> <groupId>com.thetransactioncompany</groupId> <artifactId>cors-filter</artifactId> <version>2.9.1</version> </dependency>
INSTALL
IMPORT
SIG · CORS-FILTER
C
cors-filter
web-frameworkjavav2.9.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CORSFilter
✓ com.thetransactioncompany.cors.CORSFilter

Configure CORSFilter in web.xml to enable cross-origin requests.

import com.thetransactioncompany.cors.CORSFilter; // In web.xml: // <filter> // <filter-name>CORS</filter-name> // <filter-class>com.thetransactioncompany.cors.CORSFilter</filter-class> // </filter> // <filter-mapping> // <filter-name>CORS</filter-name> // <url-pattern>/*</url-pattern> // </filter-mapping>
Debug
Known issues
gotchaCORSFilter may conflict with other CORS implementations (e.g., Spring's CorsFilter).
fix
Ensure only one CORS filter is configured to avoid duplicate headers.
affects: *
Upgrade
Version history
2.9.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
16
Resources
cors-filter — mvn dependency:get cors-filter · libregistry