org.jboss.resteasy.test
Class BaseResourceTest
java.lang.Object
org.jboss.resteasy.test.BaseResourceTest
public abstract class BaseResourceTest
- extends 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 Exception
- Throws:
Exception
after
public static void after()
throws Exception
- Throws:
Exception
getRegistry
public Registry getRegistry()
getProviderFactory
public ResteasyProviderFactory getProviderFactory()
addPerRequestResource
public static void addPerRequestResource(Class<?> resource)
- Parameters:
resource
-
readString
public String readString(InputStream in)
throws IOException
- Throws:
IOException
Copyright © 2012. All Rights Reserved.