org.red5.server.net.rtsp.filter.rewrite
Class RequestUrlRewritingImpl

java.lang.Object
  extended by org.apache.mina.core.filterchain.IoFilterAdapter
      extended by org.red5.server.net.rtsp.filter.rewrite.RequestUrlRewritingImpl
All Implemented Interfaces:
IoFilter

public class RequestUrlRewritingImpl
extends IoFilterAdapter

Author:
bieniekr

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.mina.core.filterchain.IoFilter
IoFilter.NextFilter
 
Constructor Summary
RequestUrlRewritingImpl(String clazzName)
          construct the IoFilter around the filter class denoted by the clazz name parameter.
 
Method Summary
 void messageReceived(IoFilter.NextFilter nextFilter, IoSession session, Object message)
           
 
Methods inherited from class org.apache.mina.core.filterchain.IoFilterAdapter
destroy, exceptionCaught, filterClose, filterWrite, init, messageSent, onPostAdd, onPostRemove, onPreAdd, onPreRemove, sessionClosed, sessionCreated, sessionIdle, sessionOpened, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RequestUrlRewritingImpl

public RequestUrlRewritingImpl(String clazzName)
                        throws Exception
construct the IoFilter around the filter class denoted by the clazz name parameter. TODO: This may become obsolete if moving to OSGi bundles TODO: Make filter parametrizeable. Could be done by moving from properties to XML config file.

Throws:
Exception
Method Detail

messageReceived

public void messageReceived(IoFilter.NextFilter nextFilter,
                            IoSession session,
                            Object message)
                     throws Exception
Specified by:
messageReceived in interface IoFilter
Overrides:
messageReceived in class IoFilterAdapter
Throws:
Exception


Copyright © 2006-2009 The Red5 Project