Class Endpoint

  • All Implemented Interfaces:
    Counters

    public class Endpoint
    extends java.lang.Object
    implements Counters
    • Field Detail

      • DatasetEP

        public static final ValidString DatasetEP
        The endpoint name used for a dataset-level endpoint.
    • Method Detail

      • create

        public static Endpoint create​(Operation operation,
                                      java.lang.String endpointName,
                                      AuthPolicy requestAuth)
        Build an endpoint
      • create

        public static Endpoint create​(Operation operation,
                                      java.lang.String endpointName)
        Build an endpoint
      • getOperation

        public Operation getOperation()
      • setProcessor

        public void setProcessor​(ActionProcessor proc)
        Directly replace the ActionProcessor. This allows an endpoint to be created, and then latest have the ActionProcessor set, such as applying a default (normal case) or a security version injected.
      • getContext

        public Context getContext()
      • isUnnamed

        public boolean isUnnamed()
      • getName

        public java.lang.String getName()
      • getAuthPolicy

        public AuthPolicy getAuthPolicy()
      • getRequests

        public long getRequests()
      • getRequestsGood

        public long getRequestsGood()
      • getRequestsBad

        public long getRequestsBad()
      • sameNameAndOperation

        public static boolean sameNameAndOperation​(Endpoint ep1,
                                                   Endpoint ep2)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object