Class PermissionsHandler

java.lang.Object
overit.geocall.util.SupplierChain.Handler<String,Boolean>
overit.geocall.util.verification.PermissionsHandler

public class PermissionsHandler extends SupplierChain.Handler<String,Boolean>
Implementation of SupplierChain.Handler meant to handle the verification request for the Permissions
  • Field Details

  • Constructor Details

    • PermissionsHandler

      public PermissionsHandler()
  • Method Details

    • get

      public Boolean get(String request)
      Description copied from class: SupplierChain.Handler
      Get the value from this handler if it is able to handle the input parameter. Implementation note: the subclass should invoke the super implementation if it can not handle the request
      
       {@literal @}Override
       public O get(I input) {
           if (!canHandle(input)) return super.get(input);
           // handle the request
       }
       
      Overrides:
      get in class SupplierChain.Handler<String,Boolean>
      Parameters:
      request - the input parameter
      Returns:
      the output value or null if the input can not be handled
    • purgePrefix

      protected String purgePrefix(String request)