com.safelayer.rap.rest.IssuanceResource 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.issuance.JsonCertificatesPutRequest;
@Path(IssuanceResource.URIs.ISSUANCES)
@RequestScoped
public interface IssuanceResource{
public static class URIs {
public static final String ISSUANCES = "/issuances";
}
@PUT
@Consumes(MediaType.APPLICATION_JSON)
@Produces(MediaType.APPLICATION_JSON)
public Response getCertificates(JsonCertificatesPutRequest request) throws Exception;
}