|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RestServer
This interface represents a server which offers a Crowd REST service.
Tests retrieve RestServer instance by calling com.atlassian.crowd.acceptance.tests.rest.RestServerImpl.INSTANCE
| Method Summary | |
|---|---|
void |
after()
This method is called after each test is run, and it should free resources. |
void |
before()
This method is called before each test is run, and it should reset the server in a predictable state. |
com.sun.jersey.api.client.Client |
decorateClient(com.sun.jersey.api.client.Client client)
Perform custom processing on the Jersey client, such as adding any necessary headers for multitenant tests. |
URL |
getBaseUrl()
|
| Method Detail |
|---|
void before()
throws Exception
Exception - if the server could not be restoredvoid after()
URL getBaseUrl()
com.sun.jersey.api.client.Client decorateClient(com.sun.jersey.api.client.Client client)
client - The client to decorate
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||