it.cosenonjaviste.security.jwt.catalinawriters.HtmlResponseWriter Maven / Gradle / Ivy
package it.cosenonjaviste.security.jwt.catalinawriters;
import java.io.IOException;
import org.apache.catalina.connector.Response;
/**
* Standard HTML response writer
*
* @author acomo
*
*/
class HtmlResponseWriter extends ResponseWriter {
@Override
public void write(Response response, int statusCode, Object body) throws IOException {
response.sendError(statusCode, body.toString());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy