d14caf9a8651efbe89b95f665a150aaf1d9ddeaa
[controller.git] / opendaylight / commons / filter-valve / src / test / java / org / opendaylight / controller / filtervalve / cors / jaxb / DummyFilter.java
1 /*
2  * Copyright (c) 2014 Cisco Systems, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.controller.filtervalve.cors.jaxb;
10
11 import java.io.IOException;
12 import javax.servlet.FilterChain;
13 import javax.servlet.FilterConfig;
14 import javax.servlet.ServletException;
15 import javax.servlet.ServletRequest;
16 import javax.servlet.ServletResponse;
17
18 public class DummyFilter implements javax.servlet.Filter {
19     @Override
20     public void init(FilterConfig filterConfig) throws ServletException {
21         throw new UnsupportedOperationException();
22     }
23
24     @Override
25     public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
26         throw new UnsupportedOperationException();
27     }
28
29     @Override
30     public void destroy() {
31         throw new UnsupportedOperationException();
32     }
33 }