package org.jboss.resteasy.test.providers.custom.resource;

import java.io.IOException;

import jakarta.servlet.ServletException;
import jakarta.servlet.ServletRequest;
import jakarta.servlet.ServletResponse;
import jakarta.servlet.http.HttpServlet;

import org.jboss.logging.Logger;

public class FilterDispatcherForwardServlet extends HttpServlet {
    private static Logger logger = Logger.getLogger(FilterDispatcherForwardServlet.class);

    private static final long serialVersionUID = 1L;

    public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException {
        logger.info("enterng ForwardServlet.service()");
        res.getOutputStream().write("forward".getBytes());
    }
}
