public class CORSFilter extends HttpFilter
Constructor and Description |
---|
CORSFilter() |
Modifier and Type | Method and Description |
---|---|
void |
doFilter(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
javax.servlet.FilterChain chain)
Receives standard HTTP requests from the public doFilter method.
|
destroy, doFilter, init
public void doFilter(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
HttpFilter
doFilter
in class HttpFilter
req
- http requestresp
- http responsechain
- filter chainIOException
javax.servlet.ServletException
Copyright © 2023. All Rights Reserved.