Class BaseControl
java.lang.Object
eu.rarogsoftware.rarog.platform.backdoor.control.BaseControl
- Direct Known Subclasses:
ApplicationSettingsControl,PluginsControl,SystemStateHelpers,TomcatControl,UsersControl
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBaseControl(eu.rarogsoftware.commons.test.webdriver.EnvironmentData environmentData) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.http.Headerprotected PathFragmentsprotected PathFragmentsbasePath()protected org.apache.http.Headerprotected <T> TgetEntity(PathFragments url, Class<T> entityType, org.apache.http.Header... headers) protected <T> Tprotected org.apache.http.client.methods.CloseableHttpResponsegetResponse(String url, org.apache.http.Header... headers) protected org.apache.http.client.methods.CloseableHttpResponsepostEntity(PathFragments path, Object entity, org.apache.http.Header... headers) protected <T> TpostEntityReturningEntity(PathFragments path, Object entity, Class<T> entityTYpe, org.apache.http.Header... headers) protected <T> TpostEntityReturningEntity(String path, Object entity, Class<T> entityTYpe, org.apache.http.Header... headers) protected org.apache.http.client.methods.CloseableHttpResponseputEntity(PathFragments path, Object entity, org.apache.http.Header... headers) protected <T> TputEntityReturningEntity(PathFragments path, Object entity, Class<T> entityTYpe, org.apache.http.Header... headers) protected <T> TputEntityReturningEntity(String path, Object entity, Class<T> entityTYpe, org.apache.http.Header... headers) protected org.apache.http.client.methods.CloseableHttpResponsesendDelete(PathFragments path, org.apache.http.Header... headers) protected org.apache.http.client.methods.CloseableHttpResponsesendDelete(String url, org.apache.http.Header... headers)
-
Constructor Details
-
BaseControl
protected BaseControl(eu.rarogsoftware.commons.test.webdriver.EnvironmentData environmentData)
-
-
Method Details
-
sendDelete
protected org.apache.http.client.methods.CloseableHttpResponse sendDelete(PathFragments path, org.apache.http.Header... headers) throws IOException - Throws:
IOException
-
sendDelete
protected org.apache.http.client.methods.CloseableHttpResponse sendDelete(String url, org.apache.http.Header... headers) throws IOException - Throws:
IOException
-
getResponse
protected org.apache.http.client.methods.CloseableHttpResponse getResponse(String url, org.apache.http.Header... headers) throws IOException - Throws:
IOException
-
getEntity
protected <T> T getEntity(PathFragments url, Class<T> entityType, org.apache.http.Header... headers) throws IOException - Throws:
IOException
-
getEntity
protected <T> T getEntity(String url, Class<T> entityType, org.apache.http.Header... headers) throws IOException - Throws:
IOException
-
postEntityReturningEntity
protected <T> T postEntityReturningEntity(PathFragments path, Object entity, Class<T> entityTYpe, org.apache.http.Header... headers) throws IOException - Throws:
IOException
-
postEntityReturningEntity
protected <T> T postEntityReturningEntity(String path, Object entity, Class<T> entityTYpe, org.apache.http.Header... headers) throws IOException - Throws:
IOException
-
postEntity
protected org.apache.http.client.methods.CloseableHttpResponse postEntity(PathFragments path, Object entity, org.apache.http.Header... headers) throws IOException - Throws:
IOException
-
putEntityReturningEntity
protected <T> T putEntityReturningEntity(PathFragments path, Object entity, Class<T> entityTYpe, org.apache.http.Header... headers) throws IOException - Throws:
IOException
-
putEntityReturningEntity
protected <T> T putEntityReturningEntity(String path, Object entity, Class<T> entityTYpe, org.apache.http.Header... headers) throws IOException - Throws:
IOException
-
putEntity
protected org.apache.http.client.methods.CloseableHttpResponse putEntity(PathFragments path, Object entity, org.apache.http.Header... headers) throws IOException - Throws:
IOException
-
basePath
-
backdoorPath
-
disableCsrfProtectionHeader
protected org.apache.http.Header disableCsrfProtectionHeader() -
adminAuthHeader
protected org.apache.http.Header adminAuthHeader()
-