![JAR search and dependency download from the Maven repository](/logo.png)
org.restexpress.pipeline.Postprocessor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of RestExpress Show documentation
Show all versions of RestExpress Show documentation
Internet scale, high-performance RESTful Services in Java
/*
* Copyright 2010, eCollege, Inc. All rights reserved.
*/
package org.restexpress.pipeline;
import org.restexpress.Request;
import org.restexpress.Response;
/**
* Defines the interface for processing that happens after the service is called but
* before the response is returned. Postprocessors do not get called in an exception
* case. Furuthermore, if a Postprocessor throws an exception, the rest of the
* Postprocessors in the chain are skipped.
*
* @author toddf
* @since Aug 31, 2010
*/
public interface Postprocessor
{
public void process(Request request, Response response);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy