Class RESTWebRTCService

  • All Implemented Interfaces:
    org.exoplatform.services.rest.resource.ResourceContainer

    public class RESTWebRTCService
    extends Object
    implements org.exoplatform.services.rest.resource.ResourceContainer
    REST service for WebRTC provider in Web Conferencing. Created by The eXo Platform SAS.
    Version:
    $Id: RESTWebRTCService.java 00000 Feb 22, 2017 pnedonosko $
    Author:
    Peter Nedonosko
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static org.exoplatform.services.log.Log LOG
      The Constant LOG.
      protected org.exoplatform.webconferencing.WebConferencingService webConferencing
      The web conferencing.
    • Constructor Summary

      Constructors 
      Constructor Description
      RESTWebRTCService​(org.exoplatform.webconferencing.WebConferencingService webConferencing)
      Instantiates a new REST service for WebRTC provider in Web Conferencing.
    • Field Detail

      • LOG

        protected static final org.exoplatform.services.log.Log LOG
        The Constant LOG.
      • webConferencing

        protected final org.exoplatform.webconferencing.WebConferencingService webConferencing
        The web conferencing.
    • Constructor Detail

      • RESTWebRTCService

        public RESTWebRTCService​(org.exoplatform.webconferencing.WebConferencingService webConferencing)
        Instantiates a new REST service for WebRTC provider in Web Conferencing.
        Parameters:
        webConferencing - the skype
    • Method Detail

      • postSettings

        @RolesAllowed("administrators")
        public javax.ws.rs.core.Response postSettings​(@Context
                                                      javax.ws.rs.core.UriInfo uriInfo,
                                                      String rtcConfig)
        Post RTC settings.
        Parameters:
        uriInfo - the uri info
        rtcConfig - the rtc config
        Returns:
        the response
      • getSettings

        @RolesAllowed("administrators")
        public javax.ws.rs.core.Response getSettings​(@Context
                                                     javax.ws.rs.core.UriInfo uriInfo)
        Gets the settings.
        Parameters:
        uriInfo - the uri info
        Returns:
        the settings