public interface EditableRemoteRepository extends EditableRepository, RemoteRepository
Modifier and Type | Method and Description |
---|---|
void |
addExtraHeader(String header,
String value)
Adds an extra header.
|
void |
addExtraParameter(String key,
String value)
Adds an additional parameter.
|
void |
setCheckPath(String path)
Sets the path relative to the root url of the repository that should be used to check
the availability of the repository.
|
void |
setContent(RemoteRepositoryContent content)
Sets the content.
|
void |
setCredentials(RepositoryCredentials credentials)
Sets the login credentials for login to the remote repository.
|
void |
setExtraHeaders(Map<String,String> headers)
Sets the extra headers, that are added to the requests to the remote repository.
|
void |
setExtraParameters(Map<String,String> params)
Sets additional parameters to be used to access the remote repository.
|
void |
setTimeout(Duration duration)
Sets the timeout for requests to the remote repository.
|
addFailoverLocation, clearFailoverLocations, getPrimaryLocale, removeFailoverLocation, setBaseUri, setDescription, setIndexingContext, setLayout, setLocation, setName, setScanned, setSchedulingDefinition
getCheckPath, getContent, getExtraHeaders, getExtraParameters, getLoginCredentials, getTimeout
close, getCapabilities, getDescription, getDescription, getFailoverLocations, getFeature, getId, getIndexingContext, getLayout, getLocalPath, getLocation, getName, getName, getSchedulingDefinition, getType, hasIndex, isOpen, isScanned, supportsFeature
registerEventHandler, unregisterEventHandler
addAsset, consumeData, consumeDataFromChannel, copyAsset, copyAsset, getAsset, moveAsset, moveAsset, removeAsset, updateLocation, writeData, writeDataToChannel
void setCredentials(RepositoryCredentials credentials)
credentials
- void setCheckPath(String path)
path
- The path string.void setExtraParameters(Map<String,String> params)
params
- A map of parameters, may not be null.void addExtraParameter(String key, String value)
key
- The key of the parametervalue
- The value of the parametervoid setExtraHeaders(Map<String,String> headers)
void addExtraHeader(String header, String value)
header
- The header namevalue
- The header valuevoid setTimeout(Duration duration)
duration
- The amount of time, after that the request is aborted.void setContent(RemoteRepositoryContent content)
content
- Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.