Package edu.pdx.cs410J.di
Class RestLoggingFilter
java.lang.Object
edu.pdx.cs410J.di.RestLoggingFilter
- All Implemented Interfaces:
javax.servlet.Filter
Logs all calls to the rest services
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
RestLoggingFilter
-
-
Method Details
-
init
- Specified by:
init
in interfacejavax.servlet.Filter
- Throws:
javax.servlet.ServletException
-
doFilter
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException - Specified by:
doFilter
in interfacejavax.servlet.Filter
- Throws:
IOException
javax.servlet.ServletException
-
destroy
- Specified by:
destroy
in interfacejavax.servlet.Filter
-