Class WebWopiFileEdition


  • @Bean
    public class WebWopiFileEdition
    extends Object
    In charge of the management of WOPI contexts.

    The exposed signatures permits to caller to initialize a WOPI edition.

    WOPI services can use directly the implementation of this interface in order to get more functionality.

    Author:
    silveryocha
    • Constructor Detail

      • WebWopiFileEdition

        protected WebWopiFileEdition()
    • Method Detail

      • initializeWith

        public Optional<String> initializeWith​(javax.servlet.http.HttpServletRequest request,
                                               WopiFile file)
        Initializing a WOPI edition from given data.
        Parameters:
        request - the current request from which the edition is started.
        file - a Silverpeas's WOPI file.
        Returns:
        an optional URL of the Silverpeas's editor page.