org.jboss.resteasy.test
Class BaseResourceTest

java.lang.Object
  extended by org.jboss.resteasy.test.BaseResourceTest

public abstract class BaseResourceTest
extends java.lang.Object

Version:
$Revision:$
Author:
Ryan J. McDonough

Field Summary
protected static ResteasyDeployment deployment
           
protected static Dispatcher dispatcher
           
 
Constructor Summary
BaseResourceTest()
           
 
Method Summary
static void addPerRequestResource(java.lang.Class<?> resource)
           
static void after()
           
static void before()
           
 ResteasyProviderFactory getProviderFactory()
           
 Registry getRegistry()
           
 java.lang.String readString(java.io.InputStream in)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

deployment

protected static ResteasyDeployment deployment

dispatcher

protected static Dispatcher dispatcher
Constructor Detail

BaseResourceTest

public BaseResourceTest()
Method Detail

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.