Package org.fcrepo.integration.rdf
Class AbstractIntegrationRdfIT
- java.lang.Object
-
- org.fcrepo.integration.http.api.AbstractResourceIT
-
- org.fcrepo.integration.rdf.AbstractIntegrationRdfIT
-
- Direct Known Subclasses:
B3KatIT,BibframeIT,BibOntologyIT,GeonameIT,LdpIT,MiscExamplesIT,ModsRdfIT,MusicOntologyIT,OpenAnnotationIT,TgnIT,VivoIT,WebAccessControlIT
public abstract class AbstractIntegrationRdfIT extends org.fcrepo.integration.http.api.AbstractResourceIT
- Author:
- cabeer, ajs6f
-
-
Constructor Summary
Constructors Constructor Description AbstractIntegrationRdfIT()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckResponse(org.apache.http.HttpResponse response, javax.ws.rs.core.Response.StatusType expected)protected org.apache.http.HttpResponsecreateLDPRSAndCheckResponse(String pid, String body)protected org.apache.http.HttpResponsecreateLDPRSAndCheckResponse(String pid, String body, Map<String,String> headers)protected StringgetContentFromClasspath(String path)-
Methods inherited from class org.fcrepo.integration.http.api.AbstractResourceIT
addTxTo, assertConstrainedByPresent, assertDeleted, assertNoLinkHeader, assertNotDeleted, assertNotFound, checkForLinkHeader, confirmResponseBodyNTriplesAreEqual, createClient, createClient, createDatastream, createDatastream, createObject, createObject, createObjectAndClose, createObjectAndClose, createTransaction, decodeDigestHeader, deleteObjMethod, execute, executeAndClose, executeWithBasicAuth, getBean, getBean, getContentLocation, getContentType, getContentType, getDataset, getDataset, getDSDescMethod, getDSMethod, getDSMethod, getEtag, getEtag, getEtag, getExternalContentLinkHeader, getHeader, getLinkHeaders, getLinkHeaders, getLocation, getLocation, getModel, getModel, getModel, getModel, getObjMethod, getOriginalResourceUri, getRandomUniqueId, getStatus, getStatus, getTTLThatUpdatesServerManagedTriples, headerValues, headObjMethod, patchObjMethod, postObjMethod, postObjMethod, preferLink, putDSMethod, putDSMethod, putObjMethod, putObjMethod, restartContainer, setDescriptionProperty, setLogger, setProperty, setProperty, streamModel
-
-
-
-
Constructor Detail
-
AbstractIntegrationRdfIT
public AbstractIntegrationRdfIT()
-
-
Method Detail
-
createLDPRSAndCheckResponse
protected org.apache.http.HttpResponse createLDPRSAndCheckResponse(String pid, String body)
-
createLDPRSAndCheckResponse
protected org.apache.http.HttpResponse createLDPRSAndCheckResponse(String pid, String body, Map<String,String> headers)
-
checkResponse
protected void checkResponse(org.apache.http.HttpResponse response, javax.ws.rs.core.Response.StatusType expected)
-
getContentFromClasspath
protected String getContentFromClasspath(String path) throws IOException
- Throws:
IOException
-
-