@UriParams public class FcrepoConfiguration extends Object implements Cloneable
| Constructor and Description |
|---|
FcrepoConfiguration()
Create a new FcrepoConfiguration object
|
| Modifier and Type | Method and Description |
|---|---|
FcrepoConfiguration |
clone()
Copy an FcrepoConfiguration object.
|
String |
getAccept()
accept getter
|
String |
getAuthHost()
authHost getter
|
String |
getAuthPassword()
authPassword getter
|
String |
getAuthUsername()
authUsername getter
|
String |
getBaseUrl()
baseUrl getter
|
String |
getContentType()
contentType getter
|
Boolean |
getFixity()
fixity getter
|
Boolean |
getMetadata()
metadata getter
|
String |
getPreferInclude()
preferInclude getter
|
String |
getPreferOmit()
preferOmit getter
|
Boolean |
getThrowExceptionOnFailure()
throwExceptionOnFailure getter
|
org.springframework.transaction.PlatformTransactionManager |
getTransactionManager()
transactionManger getter
|
void |
setAccept(String type)
accept setter
|
void |
setAuthHost(String host)
authHost setter
|
void |
setAuthPassword(String password)
authPassword setter
|
void |
setAuthUsername(String username)
authUsername setter
|
void |
setBaseUrl(String url)
baseUrl setter
|
void |
setContentType(String type)
contentType setter
|
void |
setFixity(Boolean fixity)
fixity setter
|
void |
setMetadata(Boolean metadata)
metadata setter
|
void |
setPreferInclude(String include)
preferInclude setter
|
void |
setPreferOmit(String omit)
preferOmit setter
|
void |
setThrowExceptionOnFailure(Boolean throwOnFailure)
throwExceptionOnFailure setter
|
void |
setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
transactionManager setter
|
public FcrepoConfiguration()
public FcrepoConfiguration clone()
public void setBaseUrl(String url)
url - the baseUrl stringpublic String getBaseUrl()
public void setAccept(String type)
type - the mime-type for Accept headerspublic void setContentType(String type)
type - the mime-type used with Content-Type headerspublic String getContentType()
public void setAuthUsername(String username)
username - used for repository authenticationpublic String getAuthUsername()
public void setAuthPassword(String password)
password - used for repository authenticationpublic String getAuthPassword()
public void setAuthHost(String host)
host - used for authenticationpublic String getAuthHost()
public void setMetadata(Boolean metadata)
metadata - whether to retrieve rdf metadata for non-rdf nodespublic Boolean getMetadata()
public void setThrowExceptionOnFailure(Boolean throwOnFailure)
throwOnFailure - whether HTTP response errors throw exceptionspublic Boolean getThrowExceptionOnFailure()
public void setPreferInclude(String include)
include - the URI(s) that populate the include section in a Prefer headerpublic String getPreferInclude()
public void setPreferOmit(String omit)
omit - the URI(s) that populate the omit section in a Prefer headerpublic String getPreferOmit()
public void setTransactionManager(org.springframework.transaction.PlatformTransactionManager transactionManager)
transactionManager - the transaction manager for handling transactionspublic org.springframework.transaction.PlatformTransactionManager getTransactionManager()
public void setFixity(Boolean fixity)
fixity - whether to run a fixity check on the fcrepo resourceCopyright © 2013–2019 DuraSpace, Inc.. All rights reserved.