Class DescriptionHandler

  • All Implemented Interfaces:
    Handler

    public class DescriptionHandler
    extends java.lang.Object
    implements Handler
    • Method Detail

      • canHandle

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

        public MultipartResponse handleRequest​(@NotNull
                                               @NotNull MultipartRequest multipartRequest,
                                               @NotNull
                                               @NotNull org.eclipse.dataspaceconnector.spi.iam.ClaimToken claimToken)
        Description copied from interface: Handler
        Handles the given MultipartRequest.
        Specified by:
        handleRequest in interface Handler
        Parameters:
        multipartRequest - from another connector
        Returns:
        MultipartResponse or null, if the request cannot be handled (e.g. when content missing)
      • handleRequestInternal

        public MultipartResponse handleRequestInternal​(@NotNull
                                                       @NotNull MultipartRequest multipartRequest,
                                                       @NotNull
                                                       @NotNull org.eclipse.dataspaceconnector.spi.iam.ClaimToken claimToken)