com.safelayer.rap.rest.RevocationResource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pki-connector-restapi Show documentation
Show all versions of pki-connector-restapi Show documentation
The PKI Connector RESTAPI is a library that helps developing new PKI Connectors for TrustedX
The newest version!
package com.safelayer.rap.rest;
import javax.enterprise.context.RequestScoped;
import javax.ws.rs.Consumes;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
import com.safelayer.rap.json.model.revocation.JsonRevocationPutRequest;
@Path(RevocationResource.URIs.REVOCATIONS)
@RequestScoped
public interface RevocationResource {
public static class URIs {
public static final String REVOCATIONS = "/revocations";
}
@PUT
@Consumes(MediaType.APPLICATION_JSON)
@Produces(MediaType.APPLICATION_JSON)
public Response revoke(JsonRevocationPutRequest request) throws Exception;
}