@Path(value="security/trustedKey") @Produces(value="application/json") @Consumes(value="application/json") public class TrustedKeyResource extends Object
Constructor and Description |
---|
TrustedKeyResource(TrustedKeyConversionFunction trustedKeyConversionFunction,
TrustedKeyService trustedKeyService,
com.atlassian.sal.api.message.I18nResolver i18nResolver,
AdministrationConfigurationAccessor administrationConfigurationAccessor,
RestHelperWrapper restHelperWrapper) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
create(RestTrustedKey input,
Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
delete(long id) |
List<RestTrustedKey> |
findAll(Expansion expansion,
javax.ws.rs.core.UriInfo uriInfo) |
public TrustedKeyResource(TrustedKeyConversionFunction trustedKeyConversionFunction, TrustedKeyService trustedKeyService, com.atlassian.sal.api.message.I18nResolver i18nResolver, AdministrationConfigurationAccessor administrationConfigurationAccessor, RestHelperWrapper restHelperWrapper)
@NotNull @GET public List<RestTrustedKey> findAll(@Context Expansion expansion, @Context javax.ws.rs.core.UriInfo uriInfo)
@POST public javax.ws.rs.core.Response create(@Nullable RestTrustedKey input, @Context Expansion expansion, @Context javax.ws.rs.core.UriInfo uriInfo) throws WebValidationException
WebValidationException
@DELETE @Path(value="{id}") public javax.ws.rs.core.Response delete(@PathParam(value="id") long id)
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.