Interface Handler

    • Method Detail

      • canHandle

        boolean canHandle​(@NotNull
                          @NotNull MultipartRequest multipartRequest)
        Examines whether the current handler instance is applicable handling a certain MultipartRequest.
        Parameters:
        multipartRequest - from another connector
        Returns:
        true if the handler can handle the request
      • handleRequest

        @Nullable
        @Nullable MultipartResponse handleRequest​(@NotNull
                                                  @NotNull MultipartRequest multipartRequest,
                                                  @NotNull
                                                  @NotNull org.eclipse.dataspaceconnector.spi.iam.ClaimToken claimToken)
        Handles the given MultipartRequest.
        Parameters:
        multipartRequest - from another connector
        Returns:
        MultipartResponse or null, if the request cannot be handled (e.g. when content missing)