org.jboss.resteasy.test
public abstract class BaseResourceTest extends Object
Modifier and Type | Field and Description |
---|---|
protected Hashtable<String,String> |
contextParams |
protected ResteasyDeployment |
deployment |
protected Dispatcher |
dispatcher |
protected Hashtable<String,String> |
initParams |
protected boolean |
manualStart |
Constructor and Description |
---|
BaseResourceTest() |
Modifier and Type | Method and Description |
---|---|
void |
addExceptionMapper(Class<? extends ExceptionMapper<?>> clazz) |
void |
addLibraryWithTransitiveDependencies(String Gav) |
protected void |
addPackageInfo(Class<?> clazz) |
void |
addPerRequestResource(Class<?> resource,
Class<?>... otherResources) |
void |
after() |
void |
before() |
protected void |
createContainer(Hashtable<String,String> initParams,
Hashtable<String,String> contextParams) |
ResteasyProviderFactory |
getProviderFactory() |
Registry |
getRegistry() |
String |
readString(InputStream in) |
void |
registerProvider(Class<?> clazz) |
protected void |
startContainer() |
protected void |
startContainerIfNotRunning() |
protected void |
stopContainer() |
protected boolean manualStart
protected ResteasyDeployment deployment
protected Dispatcher dispatcher
protected void createContainer(Hashtable<String,String> initParams, Hashtable<String,String> contextParams) throws Exception
Exception
protected void startContainerIfNotRunning()
public Registry getRegistry()
public ResteasyProviderFactory getProviderFactory()
public void addPerRequestResource(Class<?> resource, Class<?>... otherResources)
protected void addPackageInfo(Class<?> clazz)
public void registerProvider(Class<?> clazz)
public void addExceptionMapper(Class<? extends ExceptionMapper<?>> clazz)
public String readString(InputStream in) throws IOException
IOException
public void addLibraryWithTransitiveDependencies(String Gav)
Copyright © 2017. All Rights Reserved.