add a note on the rest pre processor

This commit is contained in:
Shay Banon 2012-02-02 13:47:59 +02:00
parent 43af5041c3
commit a784f9fcdf
1 changed files with 3 additions and 0 deletions

View File

@ -40,6 +40,9 @@ public interface RestPreProcessor {
/**
* Process the request, returning <tt>false</tt> if no further processing should be done. Note,
* make sure to send a response if returning <tt>false</tt>, otherwise, no response will be sent.
* <p/>
* It is recommended that the process method will not do blocking calls, or heavily cache data
* if a blocking call is done.
*/
boolean process(RestRequest request, RestChannel channel);
}