if (o == null || getClass() != o.getClass()) {
return false;
}
InterceptorContext that = (InterceptorContext) o;
RestAction action;
if (that.useTemplate()) {
action = that.getTemplate();
} else {
action = new InterceptRestAction(that.getHttpMethod(), that.getPath(), that.getQueryCount());
}