|
||||||||||
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.DynamicContentAdapter
com.sun.grizzly.jruby.RailsAdapter
public class RailsAdapter
Adapter implementation that bridge JRuby on Rails with Grizzly.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.sun.grizzly.tcp.DynamicContentAdapter |
---|
DynamicContentAdapter.RequestTupple |
Field Summary |
---|
Fields inherited from class com.sun.grizzly.tcp.DynamicContentAdapter |
---|
contextRoot, RFC_2616_FORMAT |
Fields inherited from class com.sun.grizzly.tcp.StaticResourcesAdapter |
---|
commitErrorResponse, logger |
Fields inherited from interface com.sun.grizzly.tcp.Adapter |
---|
CONNECTION_PROCESSING_COMPLETED, CONNECTION_PROCESSING_STARTED, REQUEST_PROCESSING_COMPLETED, REQUEST_PROCESSING_STARTED |
Constructor Summary | |
---|---|
RailsAdapter(RubyObjectPool pool)
|
|
RailsAdapter(RubyObjectPool pool,
RubyRuntimeAsyncFilter asyncFilter)
|
Method Summary | |
---|---|
protected int |
getTokenID()
|
protected void |
serviceDynamicContent(Request req,
Response res)
|
Methods inherited from class com.sun.grizzly.tcp.DynamicContentAdapter |
---|
afterService, fireAdapterEvent, getContextRoot, service, setContextRoot |
Methods inherited from class com.sun.grizzly.tcp.StaticResourcesAdapter |
---|
customizedErrorPage, getLogger, getRootFolder, service, setLogger, setRootFolder |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.sun.grizzly.tcp.Adapter |
---|
afterService, fireAdapterEvent, service |
Constructor Detail |
---|
public RailsAdapter(RubyObjectPool pool)
public RailsAdapter(RubyObjectPool pool, RubyRuntimeAsyncFilter asyncFilter)
Method Detail |
---|
protected int getTokenID()
getTokenID
in class DynamicContentAdapter
protected void serviceDynamicContent(Request req, Response res) throws IOException
serviceDynamicContent
in class DynamicContentAdapter
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |