Package org.fcrepo.auth.integration
Class AbstractResourceIT
- java.lang.Object
-
- org.fcrepo.auth.integration.AbstractResourceIT
-
- Direct Known Subclasses:
ServletContainerAuthenticatingRealmIT
@ContextConfiguration("/spring-test/test-container.xml") public abstract class AbstractResourceIT extends ObjectAbstract AbstractResourceIT class.
- Author:
- gregjan
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringserverAddress
-
Constructor Summary
Constructors Constructor Description AbstractResourceIT()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.http.HttpResponseexecute(org.apache.http.client.methods.HttpUriRequest method)protected intgetStatus(org.apache.http.client.methods.HttpUriRequest method)protected static org.apache.http.client.methods.HttpPostpostObjMethod(String pid)protected static org.apache.http.client.methods.HttpPostpostObjMethod(String pid, String query)voidsetLogger()
-
-
-
Field Detail
-
serverAddress
protected static final String serverAddress
-
-
Constructor Detail
-
AbstractResourceIT
public AbstractResourceIT()
-
-
Method Detail
-
setLogger
public void setLogger()
-
postObjMethod
protected static org.apache.http.client.methods.HttpPost postObjMethod(String pid)
-
postObjMethod
protected static org.apache.http.client.methods.HttpPost postObjMethod(String pid, String query)
-
execute
protected org.apache.http.HttpResponse execute(org.apache.http.client.methods.HttpUriRequest method) throws IOException
- Throws:
IOException
-
getStatus
protected int getStatus(org.apache.http.client.methods.HttpUriRequest method) throws IOException
- Throws:
IOException
-
-