|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sun.grizzly.tcp.StaticResourcesAdapter
com.sun.grizzly.tcp.http11.GrizzlyAdapter
com.sun.grizzly.http.servlet.ServletAdapter
org.atmosphere.grizzly.AtmosphereAdapter
public class AtmosphereAdapter
Simple grizzlyAdapter that can be used to embed Atmosphere using
Grizzly.
| Field Summary |
|---|
| Fields inherited from class com.sun.grizzly.http.servlet.ServletAdapter |
|---|
initialize, LOAD_ON_STARTUP, properties, REQUEST_RESPONSE_NOTES, SERVLETCONFIG_NOTES, servletInstance |
| Fields inherited from class com.sun.grizzly.tcp.http11.GrizzlyAdapter |
|---|
ADAPTER_NOTES, ALLOW_BACKSLASH, chunkingDisabled |
| Fields inherited from class com.sun.grizzly.tcp.StaticResourcesAdapter |
|---|
cache, commitErrorResponse, logger, resourcesContextPath, rootFolder, webDir |
| Constructor Summary | |
|---|---|
AtmosphereAdapter()
|
|
| Method Summary | |
|---|---|
void |
addAtmosphereHandler(String path,
AtmosphereHandler ah)
Add an AtmosphereHandler |
String |
getResourcePackage()
Set the location of web application. |
void |
setResourcePackage(String resourcePackage)
Return the location of web application. |
void |
start()
|
| Methods inherited from class com.sun.grizzly.http.servlet.ServletAdapter |
|---|
addContextParameter, addFilter, addInitParameter, addServletContextAttributeListener, addServletContextAttributeListener, addServletContextListener, addServletContextListener, addServletListener, afterService, configureClassLoader, configureServletEnv, customizeErrorPage, destroy, getContextParameters, getContextPath, getListeners, getProperty, getServletCtx, getServletInstance, getServletPath, loadServlet, newServletAdapter, removeProperty, service, setContextPath, setProperty, setServletInstance, setServletPath |
| Methods inherited from class com.sun.grizzly.tcp.http11.GrizzlyAdapter |
|---|
afterService, isAllowEncodedSlash, isHandleStaticResources, service, setAllowEncodedSlash, setDecodeUrl, setHandleStaticResources |
| Methods inherited from class com.sun.grizzly.tcp.StaticResourcesAdapter |
|---|
customizedErrorPage, getResourcesContextPath, getRootFolder, initWebDir, isUseSendFile, service, setLogger, setResourcesContextPath, setRootFolder, setUseSendFile |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AtmosphereAdapter()
| Method Detail |
|---|
public void start()
start in class com.sun.grizzly.http.servlet.ServletAdapter
public void addAtmosphereHandler(String path,
AtmosphereHandler ah)
AtmosphereHandler
public String getResourcePackage()
public void setResourcePackage(String resourcePackage)
resourcePackage - the resourcePackage to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||