[
https://issues.jboss.org/browse/FORGE-2324?page=com.atlassian.jira.plugin...
]
Antonio Goncalves updated FORGE-2324:
-------------------------------------
Description:
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]
was:
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}
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
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]
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)