org.jboss.resteasy.test
Class BaseResourceTest
java.lang.Object
org.jboss.resteasy.test.BaseResourceTest
public abstract class BaseResourceTest
- extends java.lang.Object
- Version:
- $Revision:$
- Author:
- Ryan J. McDonough
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
deployment
protected static ResteasyDeployment deployment
dispatcher
protected static Dispatcher dispatcher
BaseResourceTest
public BaseResourceTest()
before
public static void before()
throws java.lang.Exception
- Throws:
java.lang.Exception
after
public static void after()
throws java.lang.Exception
- Throws:
java.lang.Exception
getRegistry
public Registry getRegistry()
getProviderFactory
public ResteasyProviderFactory getProviderFactory()
addPerRequestResource
public static void addPerRequestResource(java.lang.Class<?> resource)
- Parameters:
resource
-
readString
public java.lang.String readString(java.io.InputStream in)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2010. All Rights Reserved.