|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jersey.test.framework.AppDescriptor
com.sun.jersey.test.framework.LowLevelAppDescriptor
public class LowLevelAppDescriptor
A low-level application descriptor.
An instance of this class is created by creating an instance of
LowLevelAppDescriptor.Builder
, invoking methods to add/modify state, and finally invoking
the LowLevelAppDescriptor.Builder.build()
method.
This application descriptor is compatible with low-level test containers that do not support Servlet. The following low-level test container factories are provided:
GrizzlyTestContainerFactory
for testing with the low-level
Grizzly HTTP container.HTTPContainerFactory
for testing with the Light Weight HTTP
server distributed with Java SE 6.InMemoryTestContainerFactory
for testing in memory without
using underlying HTTP client and server side functionality
to send requests and receive responses.
Nested Class Summary | |
---|---|
static class |
LowLevelAppDescriptor.Builder
The builder for building a low-level application descriptor. |
Nested classes/interfaces inherited from class com.sun.jersey.test.framework.AppDescriptor |
---|
AppDescriptor.AppDescriptorBuilder<T extends AppDescriptor.AppDescriptorBuilder,V extends AppDescriptor> |
Method Summary | |
---|---|
String |
getContextPath()
Get the context path. |
ResourceConfig |
getResourceConfig()
Get the resource configuration. |
static LowLevelAppDescriptor |
transform(WebAppDescriptor wad)
Transform a Web-based application descriptor into a low-level application descriptor. |
Methods inherited from class com.sun.jersey.test.framework.AppDescriptor |
---|
getClientConfig |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public ResourceConfig getResourceConfig()
public String getContextPath()
public static LowLevelAppDescriptor transform(WebAppDescriptor wad)
wad
- the Web-based application descriptor.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |