接口 RequestPredicates.Visitor

所有已知实现类:
ToStringVisitor
封闭类:
RequestPredicates

public static interface RequestPredicates.Visitor
Receives notifications from the logical structure of request predicates.
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    and()
    Receive "middle" notification of a logical AND predicate.
    void
    Receive last notification of a logical AND predicate.
    void
    Receive last notification of a negated predicate.
    void
    Receive last notification of a logical OR predicate.
    void
    header(String name, String value)
    Receive notification of an HTTP header predicate.
    void
    method(Set<HttpMethod> methods)
    Receive notification of an HTTP method predicate.
    void
    or()
    Receive "middle" notification of a logical OR predicate.
    void
    param(String name, String value)
    Receive notification of a parameter predicate.
    void
    path(String pattern)
    Receive notification of a path predicate.
    void
    pathExtension(String extension)
    Receive notification of a path extension predicate.
    void
    Receive first notification of a logical AND predicate.
    void
    Receive first notification of a negated predicate.
    void
    Receive first notification of a logical OR predicate.
    void
    Receive first notification of an unknown predicate.