All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.restexpress.pipeline.Postprocessor Maven / Gradle / Ivy

There is a newer version: 0.11.3
Show newest version
/*
 * 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