]
Work on FORGE-2324 started by Antonio Goncalves.
------------------------------------------------
Being able to create Servlet Filter
-----------------------------------
Key: FORGE-2324
URL:
https://issues.jboss.org/browse/FORGE-2324
Project: Forge
Issue Type: Sub-task
Components: Java EE
Affects Versions: 2.16.0.Final
Reporter: Antonio Goncalves
Assignee: Antonio Goncalves
Fix For: 2.x Future
A command such as :
{code}
servlet-new-filter --MyFilter
{code}
This would generate :
{code}
@WebFilter
public class MyFilter implements Filter {
@Override
public void init(FilterConfig filterConfig) throws ServletException {
}
@Override
public void doFilter(ServletRequest request, ServletResponse response, FilterChain
chain) throws IOException, ServletException {
}
@Override
public void destroy() {
}
}
{code}
This should be easier to do with [ROASTER-51]