@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 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–2023 The Apache Software Foundation. All rights reserved.