@Service(value="networkProxyService#rest") public class DefaultNetworkProxyService extends AbstractRestService implements NetworkProxyService
| Modifier and Type | Field and Description | 
|---|---|
private NetworkProxyAdmin | 
networkProxyAdmin  | 
archivaAdministration, config, httpServletRequest, httpServletResponse, log, managedRepositoryAdmin, proxyConnectorAdmin, repositoryContentFactory, 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@Inject private NetworkProxyAdmin networkProxyAdmin
public DefaultNetworkProxyService()
public List<NetworkProxy> getNetworkProxies() throws ArchivaRestServiceException
getNetworkProxies in interface NetworkProxyServiceArchivaRestServiceExceptionpublic NetworkProxy getNetworkProxy(String networkProxyId) throws ArchivaRestServiceException
getNetworkProxy in interface NetworkProxyServiceArchivaRestServiceExceptionpublic void addNetworkProxy(NetworkProxy networkProxy) throws ArchivaRestServiceException
addNetworkProxy in interface NetworkProxyServiceArchivaRestServiceExceptionpublic void updateNetworkProxy(NetworkProxy networkProxy) throws ArchivaRestServiceException
updateNetworkProxy in interface NetworkProxyServiceArchivaRestServiceExceptionpublic Boolean deleteNetworkProxy(String networkProxyId) throws ArchivaRestServiceException
deleteNetworkProxy in interface NetworkProxyServiceArchivaRestServiceExceptionpublic NetworkProxyAdmin getNetworkProxyAdmin()
public void setNetworkProxyAdmin(NetworkProxyAdmin networkProxyAdmin)
Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.