org.apache.openejb.server.httpd
Class HttpListenerRegistry

java.lang.Object
  extended by org.apache.openejb.server.httpd.HttpListenerRegistry
All Implemented Interfaces:
HttpListener

public class HttpListenerRegistry
extends Object
implements HttpListener

Version:
$Revision$ $Date$

Constructor Summary
HttpListenerRegistry()
           
 
Method Summary
 void addHttpFilter(HttpListener listener, String regex)
           
 void addHttpListener(HttpListener listener, String regex)
           
 void onMessage(HttpRequest request, HttpResponse response)
           
 Collection<HttpListener> removeHttpFilter(String regex)
           
 HttpListener removeHttpListener(String regex)
           
 void setOrigin(FilterListener origin)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpListenerRegistry

public HttpListenerRegistry()
Method Detail

onMessage

public void onMessage(HttpRequest request,
                      HttpResponse response)
               throws Exception
Specified by:
onMessage in interface HttpListener
Throws:
Exception

addHttpListener

public void addHttpListener(HttpListener listener,
                            String regex)

removeHttpListener

public HttpListener removeHttpListener(String regex)

addHttpFilter

public void addHttpFilter(HttpListener listener,
                          String regex)

removeHttpFilter

public Collection<HttpListener> removeHttpFilter(String regex)

setOrigin

public void setOrigin(FilterListener origin)


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.