org.resteasy.plugins.server.grizzly
Class AbstractGrizzlyDispatcher
java.lang.Object
org.resteasy.plugins.server.grizzly.AbstractGrizzlyDispatcher
- Direct Known Subclasses:
- GrizzletDispatcher, GrizzlyHttpDispatcher
public abstract class AbstractGrizzlyDispatcher
- extends java.lang.Object
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
Method Summary |
protected HttpResponse |
createHttpResponse(com.sun.grizzly.tcp.http11.GrizzlyResponse response)
|
Dispatcher |
getDispatcher()
|
protected java.lang.String |
getPathInfo(com.sun.grizzly.tcp.http11.GrizzlyRequest request)
|
protected java.lang.StringBuffer |
getRequestURL(com.sun.grizzly.tcp.http11.GrizzlyRequest request)
Hack to get around grizzly bug. |
protected void |
invokeJaxrs(com.sun.grizzly.tcp.http11.GrizzlyRequest request,
com.sun.grizzly.tcp.http11.GrizzlyResponse response)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dispatcher
protected Dispatcher dispatcher
contextPath
protected java.lang.String contextPath
AbstractGrizzlyDispatcher
public AbstractGrizzlyDispatcher(ResteasyProviderFactory providerFactory,
java.lang.String contextPath)
getDispatcher
public Dispatcher getDispatcher()
getPathInfo
protected java.lang.String getPathInfo(com.sun.grizzly.tcp.http11.GrizzlyRequest request)
getRequestURL
protected java.lang.StringBuffer getRequestURL(com.sun.grizzly.tcp.http11.GrizzlyRequest request)
- Hack to get around grizzly bug. Scheme is sometimes null, i don't know why
- Parameters:
request
-
- Returns:
invokeJaxrs
protected void invokeJaxrs(com.sun.grizzly.tcp.http11.GrizzlyRequest request,
com.sun.grizzly.tcp.http11.GrizzlyResponse response)
throws java.io.IOException
- Throws:
java.io.IOException
createHttpResponse
protected HttpResponse createHttpResponse(com.sun.grizzly.tcp.http11.GrizzlyResponse response)
Copyright © 2008. All Rights Reserved.