Class MultiPageLoadResponse

    • Constructor Detail

      • MultiPageLoadResponse

        public MultiPageLoadResponse()
        Constructor used by JAXB.
      • MultiPageLoadResponse

        public MultiPageLoadResponse​(List<Page> pages)
        Convenience constructor. Automatically adds a response info with a response code of OK.
        Parameters:
        pages - The pages the send with the response.
      • MultiPageLoadResponse

        public MultiPageLoadResponse​(Message message,
                                     ResponseInfo responseInfo)
        Response with an empty page list.
        Parameters:
        message - The message that should be displayed to the user.
        response - ResponseInfo with the status of the response.
    • Method Detail

      • getPages

        public List<Page> getPages()
        The list of found pages.
        Returns:
        The list of found pages.
      • setPages

        public void setPages​(List<Page> pages)
        Set the list of pages to send with the response.
        Parameters:
        pages - The list of pages to send with the response.