Class ScimResourceCallback

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

public class ScimResourceCallback extends Object
Serves the SCIM single-resource endpoints: GET, PUT, PATCH, DELETE on <basePath>/Users|Groups/{id}.
  • Constructor Details

    • ScimResourceCallback

      public ScimResourceCallback()
  • 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