public abstract class AbstractResourceTest extends AbstractNonParameterizedJerseyStreamingHttpServiceTest
Modifier and Type | Class and Description |
---|---|
static class |
AbstractResourceTest.TestApplication |
static class |
AbstractResourceTest.TestFilter |
static interface |
AbstractResourceTest.TestFiltered |
AbstractNonParameterizedJerseyStreamingHttpServiceTest.RouterApi
api, expected, rule, SERVER_CTX, timeout
Constructor and Description |
---|
AbstractResourceTest(boolean serverNoOffloads,
AbstractNonParameterizedJerseyStreamingHttpServiceTest.RouterApi api) |
Modifier and Type | Method and Description |
---|---|
protected javax.ws.rs.core.Application |
application() |
protected void |
configureBuilders(HttpServerBuilder serverBuilder,
HttpJerseyRouterBuilder jerseyRouterBuilder) |
static java.util.Collection<java.lang.Object[]> |
data() |
void |
explicitHead() |
void |
filtered() |
void |
getJson() |
void |
getText() |
void |
getTextBuffer() |
void |
getTextBufferResponse() |
void |
getTextHeaderParam() |
void |
getTextQueryParam() |
void |
getTextResponse() |
void |
implicitHead() |
void |
implicitOptions() |
void |
notFound() |
void |
notTranslatedException() |
void |
postBadJson() |
void |
postJson() |
void |
postJsonBuffer() |
void |
postJsonBytes() |
void |
postJsonPojoInPojoOut() |
void |
postText() |
void |
postTextBuffer() |
void |
postTextBufferResponse() |
void |
postTextBytes() |
void |
postTextNoEntity() |
void |
postTextResponse() |
void |
putJsonResponse() |
protected boolean |
serverNoOffloads() |
protected java.lang.String |
testUri(java.lang.String path) |
void |
translatedException() |
buildRouter, buildRouter, buildRouter, buildRouter, closeClient, closeServer, get, getJsonResponseContentLengthExtractor, head, host, initServerAndClient, isStreamingJsonEnabled, noPayloadRequest, options, payloadRequest, post, put, runTwiceToEnsureEndpointCache, sendAndAssertNoResponse, sendAndAssertResponse, sendAndAssertResponse, sendAndAssertResponse, sendAndAssertResponse, sendAndAssertResponse, sendAndAssertStatusOnly, withHeader
public AbstractResourceTest(boolean serverNoOffloads, AbstractNonParameterizedJerseyStreamingHttpServiceTest.RouterApi api)
public static java.util.Collection<java.lang.Object[]> data()
protected boolean serverNoOffloads()
protected void configureBuilders(HttpServerBuilder serverBuilder, HttpJerseyRouterBuilder jerseyRouterBuilder)
configureBuilders
in class AbstractNonParameterizedJerseyStreamingHttpServiceTest
protected javax.ws.rs.core.Application application()
application
in class AbstractNonParameterizedJerseyStreamingHttpServiceTest
protected java.lang.String testUri(java.lang.String path)
testUri
in class AbstractNonParameterizedJerseyStreamingHttpServiceTest
public void notFound()
public void notTranslatedException()
public void translatedException()
public void implicitHead()
public void explicitHead()
public void implicitOptions()
public void getText()
public void getTextQueryParam()
public void getTextHeaderParam()
public void postText()
public void postTextNoEntity()
public void getTextResponse()
public void postTextResponse()
public void filtered()
public void getJson()
public void postJson()
public void putJsonResponse()
public void getTextBuffer()
public void getTextBufferResponse()
public void postTextBuffer()
public void postJsonBuffer()
public void postTextBufferResponse()
public void postJsonPojoInPojoOut()
public void postTextBytes()
public void postJsonBytes()
public void postBadJson()