@Path(value="/networkProxyService/") public interface NetworkProxyService
Modifier and Type | Method and Description |
---|---|
void |
addNetworkProxy(NetworkProxy networkProxy) |
Boolean |
deleteNetworkProxy(String networkProxyId) |
List<NetworkProxy> |
getNetworkProxies() |
NetworkProxy |
getNetworkProxy(String networkProxyId) |
void |
updateNetworkProxy(NetworkProxy networkProxy) |
@Path(value="getNetworkProxies") @GET @Produces(value={"application/json","application/xml"}) List<NetworkProxy> getNetworkProxies() throws ArchivaRestServiceException
ArchivaRestServiceException
@Path(value="getNetworkProxy/{networkProxyId}") @GET @Produces(value={"application/json","application/xml"}) NetworkProxy getNetworkProxy(@PathParam(value="networkProxyId") String networkProxyId) throws ArchivaRestServiceException
ArchivaRestServiceException
@Path(value="addNetworkProxy") @POST @Consumes(value={"application/json","application/xml"}) @Produces(value={"application/json","application/xml"}) void addNetworkProxy(NetworkProxy networkProxy) throws ArchivaRestServiceException
ArchivaRestServiceException
@Path(value="updateNetworkProxy") @POST @Consumes(value={"application/json","application/xml"}) @Produces(value={"application/json","application/xml"}) void updateNetworkProxy(NetworkProxy networkProxy) throws ArchivaRestServiceException
ArchivaRestServiceException
@Path(value="deleteNetworkProxy/{networkProxyId}") @GET @Produces(value={"application/json","application/xml","text/plain"}) Boolean deleteNetworkProxy(@PathParam(value="networkProxyId") String networkProxyId) throws ArchivaRestServiceException
ArchivaRestServiceException
Copyright © 2006–2019 The Apache Software Foundation. All rights reserved.