Class ScimCollectionCallback

java.lang.Object
org.mockserver.scim.ScimCollectionCallback
All Implemented Interfaces:
ExpectationCallback<HttpResponse>, ExpectationResponseCallback

public class ScimCollectionCallback extends Object
Serves the SCIM collection endpoints: GET <basePath>/Users|Groups (list with optional filter + pagination) and POST <basePath>/Users|Groups (create).
  • Constructor Details

    • ScimCollectionCallback

      public ScimCollectionCallback()
  • Method Details

    • handle

      public HttpResponse handle(HttpRequest request)
      Description copied from interface: ExpectationResponseCallback
      Called for every request when expectation condition has been satisfied. The request that satisfied the expectation condition is passed as the parameter and the return value is the request that will be returned.
      Parameters:
      request - the request that satisfied the expectation condition
      Returns:
      the response that will be returned