* @param interceptor the interceptor object to be added.
* @param paths the paths in which this interceptor will be invoked, an empty array to respond to all paths.
*/
public void addInterceptor(Interceptor interceptor, String... paths) {
Preconditions.notNull(interceptor, "no interceptor provided");
interceptors.add(new InterceptorEntry(interceptor, paths));
}