public abstract class AbstractSpringJerseyRestJsonTestCase extends AbstractSpringJerseyRestTestCase
Modifier and Type | Field and Description |
---|---|
static String |
ACCEPT |
contextPath, CXF_REST_V1_CONTEXT_PATH, CXF_REST_V2_CONTEXT_PATH, DELETE, GET, POST, PUT, servletContext, webApplicationContext
Constructor and Description |
---|
AbstractSpringJerseyRestJsonTestCase() |
Modifier and Type | Method and Description |
---|---|
protected void |
createCategory() |
protected void |
createIpInterface() |
protected void |
createNode(int statusCode) |
protected void |
createService() |
protected void |
createSnmpInterface() |
protected org.springframework.mock.web.MockHttpServletResponse |
sendPost(String url,
String xml,
int statusCode,
String expectedUrlSuffix) |
protected String |
sendRequest(org.springframework.mock.web.MockHttpServletRequest request,
int expectedStatus,
String expectedUrlSuffix) |
afterServletDestroy, afterServletStart, beforeServletDestroy, beforeServletStart, cleanUpImports, createNode, createRequest, createRequest, createRequest, createRequest, createResponse, dispatch, getContextListener, getDispatcher, getFilter, getJsonObject, getQueryString, getServletConfig, getUser, getUserRoles, getXmlObject, getXmlObject, parseParamData, putXmlObject, sendData, sendPost, sendPut, sendPut, sendRequest, sendRequest, sendRequest, sendRequest, setContextListener, setDispatcher, setFilter, setServletConfig, setUp, setUser, stringifyResponse, tearDown
public static String ACCEPT
public AbstractSpringJerseyRestJsonTestCase()
protected org.springframework.mock.web.MockHttpServletResponse sendPost(String url, String xml, int statusCode, String expectedUrlSuffix) throws Exception
sendPost
in class AbstractSpringJerseyRestTestCase
Exception
protected String sendRequest(org.springframework.mock.web.MockHttpServletRequest request, int expectedStatus, String expectedUrlSuffix) throws Exception, UnsupportedEncodingException
sendRequest
in class AbstractSpringJerseyRestTestCase
Exception
UnsupportedEncodingException
protected void createNode(int statusCode) throws Exception
createNode
in class AbstractSpringJerseyRestTestCase
Exception
protected void createIpInterface() throws Exception
createIpInterface
in class AbstractSpringJerseyRestTestCase
Exception
protected void createSnmpInterface() throws Exception
createSnmpInterface
in class AbstractSpringJerseyRestTestCase
Exception
protected void createService() throws Exception
createService
in class AbstractSpringJerseyRestTestCase
Exception
protected void createCategory() throws Exception
createCategory
in class AbstractSpringJerseyRestTestCase
Exception
Copyright © 2020. All rights reserved.