com.sun.jersey.server.impl.container.grizzly
Class GrizzlyContainer

java.lang.Object
  extended by com.sun.grizzly.tcp.StaticResourcesAdapter
      extended by com.sun.grizzly.tcp.http11.GrizzlyAdapter
          extended by com.sun.jersey.server.impl.container.grizzly.GrizzlyContainer
All Implemented Interfaces:
com.sun.grizzly.tcp.Adapter, ContainerListener

public final class GrizzlyContainer
extends com.sun.grizzly.tcp.http11.GrizzlyAdapter
implements ContainerListener

Author:
Marc.Hadley@Sun.Com

Field Summary
 
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, fileFolders, logger, resourcesContextPath
 
Constructor Summary
GrizzlyContainer(WebApplication app)
           
 
Method Summary
 void afterService(com.sun.grizzly.tcp.http11.GrizzlyRequest request, com.sun.grizzly.tcp.http11.GrizzlyResponse response)
           
 void onReload()
          Called when reloading of the container is requested.
 void service(com.sun.grizzly.tcp.http11.GrizzlyRequest request, com.sun.grizzly.tcp.http11.GrizzlyResponse response)
           
 void setResourcesContextPath(java.lang.String resourcesContextPath)
           
 
Methods inherited from class com.sun.grizzly.tcp.http11.GrizzlyAdapter
afterService, destroy, isAllowEncodedSlash, isDecodeURL, isHandleStaticResources, service, setAllowEncodedSlash, setDecodeUrl, setHandleStaticResources, start
 
Methods inherited from class com.sun.grizzly.tcp.StaticResourcesAdapter
addRootFolder, customizedErrorPage, getDefaultContentType, getResourcesContextPath, getRootFolder, getRootFolders, initWebDir, isUseSendFile, service, setDefaultContentType, setLogger, setRootFolder, setUseSendFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrizzlyContainer

public GrizzlyContainer(WebApplication app)
                 throws ContainerException
Throws:
ContainerException
Method Detail

service

public void service(com.sun.grizzly.tcp.http11.GrizzlyRequest request,
                    com.sun.grizzly.tcp.http11.GrizzlyResponse response)
Specified by:
service in class com.sun.grizzly.tcp.http11.GrizzlyAdapter

afterService

public void afterService(com.sun.grizzly.tcp.http11.GrizzlyRequest request,
                         com.sun.grizzly.tcp.http11.GrizzlyResponse response)
                  throws java.lang.Exception
Overrides:
afterService in class com.sun.grizzly.tcp.http11.GrizzlyAdapter
Throws:
java.lang.Exception

setResourcesContextPath

public void setResourcesContextPath(java.lang.String resourcesContextPath)
Overrides:
setResourcesContextPath in class com.sun.grizzly.tcp.StaticResourcesAdapter

onReload

public void onReload()
Description copied from interface: ContainerListener
Called when reloading of the container is requested.

Specified by:
onReload in interface ContainerListener


Copyright © 2011 Sun Microsystems, Inc. All Rights Reserved.