javax.ws.rs.ext
Interface ResponseFilter


public interface ResponseFilter

Interface implemented by filters invoked at the Post extension point. Filters implementing this interface MUST be annotated with Provider.

As part of the client API, these filters are executed after the HTTP invocation returns. As part of the server API, these filters are executed after the resource method returns.

Since:
2.0
Author:
Santiago Pericas-Geertsen, Bill Burke

Method Summary
 void postFilter(FilterContext context)
          Filter method called at the Post extension point.
 

Method Detail

postFilter

void postFilter(FilterContext context)
                throws java.io.IOException
Filter method called at the Post extension point. I.e., after the invocation returns in the client API and after the resource method returns in the server API. Filters in a chain are ordered according to their binding priority (see BindingPriority).

Parameters:
context - invocation context
Throws:
java.io.IOException - if an I/O exception occurs


Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.