public class AgentResource extends Object
Constructor and Description |
---|
AgentResource(RestAgentService restAgentService) |
Modifier and Type | Method and Description |
---|---|
RestAgent |
getAgentById(javax.ws.rs.core.UriInfo uriInfo,
long agentId) |
RestPageModel<RestAgent> |
getAgents(javax.ws.rs.core.UriInfo uriInfo) |
RestAgent |
updateRestAgent(javax.ws.rs.core.UriInfo uriInfo,
long agentId,
RestAgent restAgent) |
public static final String REST_PATH
@Inject public AgentResource(RestAgentService restAgentService)
public RestPageModel<RestAgent> getAgents(@Context javax.ws.rs.core.UriInfo uriInfo)
public RestAgent getAgentById(@Context javax.ws.rs.core.UriInfo uriInfo, long agentId)
public RestAgent updateRestAgent(@Context javax.ws.rs.core.UriInfo uriInfo, long agentId, RestAgent restAgent) throws WebValidationException
WebValidationException
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.