Package org.silverpeas.wbe.wopi

## Class WopiRequestDispatcher

- java.lang.Object
- - org.silverpeas.wbe.wopi.WopiRequestDispatcher

- All Implemented Interfaces:
    `org.silverpeas.core.webapi.wbe.WbeFileEdition.ClientRequestDispatcher`

      @Service
      public class WopiRequestDispatcher
      extends Object
      implements org.silverpeas.core.webapi.wbe.WbeFileEdition.ClientRequestDispatcher

  Author:
    silveryocha

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `WopiRequestDispatcher()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `canHandle​(org.silverpeas.core.wbe.WbeEdition edition)` |
    `Optional<String>` | `dispatch​(javax.servlet.http.HttpServletRequest request, org.silverpeas.core.wbe.WbeEdition edition)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### WopiRequestDispatcher

          public WopiRequestDispatcher()

  - ### Method Detail

    - #### canHandle

          public boolean canHandle​(org.silverpeas.core.wbe.WbeEdition edition)

      Specified by:
        `canHandle` in interface `org.silverpeas.core.webapi.wbe.WbeFileEdition.ClientRequestDispatcher`

    - #### dispatch

          public Optional<String> dispatch​(javax.servlet.http.HttpServletRequest request,
                                           org.silverpeas.core.wbe.WbeEdition edition)

      Specified by:
        `dispatch` in interface `org.silverpeas.core.webapi.wbe.WbeFileEdition.ClientRequestDispatcher`