Interface IMockServiceInterfaceActionRequest

    • Method Detail

      • setContent

        void setContent​(byte[] content)
        Sets the request content that will be available in ClientDataRequest.getPortletInputStream().
        Parameters:
        content - the content.
        Since:
        5.6.0
      • setContentType

        void setContentType​(String contentType)
        Sets the content type, returned by ClientDataRequest.getContentType().
        Parameters:
        contentType - the content type.
        Since:
        5.6.0
      • setMethod

        void setMethod​(String method)
        Sets the HTTP method, returned by ClientDataRequest.getMethod().
        Parameters:
        method - the method.
        Since:
        5.6.0