@Service(value="networkProxyService#rest") public class DefaultNetworkProxyService extends AbstractRestService implements NetworkProxyService
archivaAdministration, config, httpServletRequest, httpServletResponse, log, proxyConnectorAdmin, repositoryRegistry, repositorySessionFactory, repositoryTaskScheduler, userRepositories
Constructor and Description |
---|
DefaultNetworkProxyService() |
Modifier and Type | Method and Description |
---|---|
void |
addNetworkProxy(NetworkProxy networkProxy) |
Boolean |
deleteNetworkProxy(String networkProxyId) |
List<NetworkProxy> |
getNetworkProxies() |
NetworkProxy |
getNetworkProxy(String networkProxyId) |
NetworkProxyAdmin |
getNetworkProxyAdmin() |
void |
setNetworkProxyAdmin(NetworkProxyAdmin networkProxyAdmin) |
void |
updateNetworkProxy(NetworkProxy networkProxy) |
buildArtifacts, doScanRepository, getArtifactUrl, getArtifactUrl, getAuditInformation, getAuditListeners, getBaseUrl, getBeansOfType, getModelMapper, getObservableRepos, getPrincipal, setAuditListeners, triggerAuditEvent
public DefaultNetworkProxyService()
public List<NetworkProxy> getNetworkProxies() throws ArchivaRestServiceException
getNetworkProxies
in interface NetworkProxyService
ArchivaRestServiceException
public NetworkProxy getNetworkProxy(String networkProxyId) throws ArchivaRestServiceException
getNetworkProxy
in interface NetworkProxyService
ArchivaRestServiceException
public void addNetworkProxy(NetworkProxy networkProxy) throws ArchivaRestServiceException
addNetworkProxy
in interface NetworkProxyService
ArchivaRestServiceException
public void updateNetworkProxy(NetworkProxy networkProxy) throws ArchivaRestServiceException
updateNetworkProxy
in interface NetworkProxyService
ArchivaRestServiceException
public Boolean deleteNetworkProxy(String networkProxyId) throws ArchivaRestServiceException
deleteNetworkProxy
in interface NetworkProxyService
ArchivaRestServiceException
public NetworkProxyAdmin getNetworkProxyAdmin()
public void setNetworkProxyAdmin(NetworkProxyAdmin networkProxyAdmin)
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.