org.atmosphere.util
Class ServletProxyFactory

java.lang.Object
  extended by org.atmosphere.util.ServletProxyFactory

public class ServletProxyFactory
extends Object

A factory class that can be used to handle the Servlet API internal proxy.

Author:
Jeanfrancois Arcand

Nested Class Summary
static class ServletProxyFactory.EchoMethodHandler
           
static interface ServletProxyFactory.MethodHandler
          A MethodHandler can be added to allow Frameworks using Atmosphere to customize internal behavior.
static class ServletProxyFactory.UTF8Handler
           
 
Method Summary
 ServletProxyFactory addMethodHandler(String method, ServletProxyFactory.MethodHandler m)
           
static ServletProxyFactory getDefault()
           
 Object proxy(Object clazz, Method method, Object[] methodObjects)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

proxy

public final Object proxy(Object clazz,
                          Method method,
                          Object[] methodObjects)

getDefault

public static ServletProxyFactory getDefault()

addMethodHandler

public ServletProxyFactory addMethodHandler(String method,
                                            ServletProxyFactory.MethodHandler m)


Copyright © 2013. All Rights Reserved.