Example #1
0
  @Override
  public boolean evaluateHttp(final HttpServletRewrite event, final EvaluationContext context) {
    String scheme = null;

    if (event instanceof HttpOutboundServletRewrite) {
      scheme = event.getAddress().getScheme();
      if (scheme == null) scheme = event.getRequest().getScheme();
    } else scheme = event.getRequest().getScheme();

    return (scheme != null && expression.parse(scheme).submit(event, context));
  }
Example #2
0
 @Override
 public void setParameterStore(ParameterStore store) {
   expression.setParameterStore(store);
 }
Example #3
0
 @Override
 public Set<String> getRequiredParameterNames() {
   return expression.getRequiredParameterNames();
 }