com.wowza.wms.http
Interface IHTTPProvider

All Known Subinterfaces:
IHTTPProvider2
All Known Implementing Classes:
HTTProvider2Base

public interface IHTTPProvider

IHTTPProvider: HTTP provider class for a given HostPort definition. Receive all HTTP requests that are not RTMPT requests. See IHTTPProvider2 for the extended version of this interface.


Method Summary
 void onBind(IVHost vhost, HostPort hostPort)
          Triggered after hostPort binds to socket
 void onHTTPRequest(IVHost vhost, IHTTPRequest req, IHTTPResponse resp)
          Triggered for each HTTP request to the given hostPort that is not an RTMPT request.
 void onUnbind(IVHost vhost, HostPort hostPort)
          Triggered after hostPort unbinds
 void setProperties(WMSProperties properties)
          Called to provide properties set in configuration files
 

Method Detail

onBind

void onBind(IVHost vhost,
            HostPort hostPort)
Triggered after hostPort binds to socket

Parameters:
vhost - parent vhost
hostPort - host port definition

onHTTPRequest

void onHTTPRequest(IVHost vhost,
                   IHTTPRequest req,
                   IHTTPResponse resp)
Triggered for each HTTP request to the given hostPort that is not an RTMPT request.

Parameters:
vhost - parent vhost
req - HTML requestion object
resp - HTML response object

onUnbind

void onUnbind(IVHost vhost,
              HostPort hostPort)
Triggered after hostPort unbinds

Parameters:
vhost - parent vhost
hostPort - host port definition

setProperties

void setProperties(WMSProperties properties)
Called to provide properties set in configuration files