@Provider @Produces(value="text/plain") public class PKCS7SignatureTextWriter extends Object implements javax.ws.rs.ext.MessageBodyWriter<SignedOutput>
| Modifier and Type | Field and Description |
|---|---|
protected javax.ws.rs.ext.Providers |
providers |
| Constructor and Description |
|---|
PKCS7SignatureTextWriter() |
| Modifier and Type | Method and Description |
|---|---|
long |
getSize(SignedOutput smimeOutput,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
boolean |
isWriteable(Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType) |
void |
writeTo(SignedOutput out,
Class<?> type,
Type genericType,
Annotation[] annotations,
javax.ws.rs.core.MediaType mediaType,
javax.ws.rs.core.MultivaluedMap<String,Object> headers,
OutputStream os) |
public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
isWriteable in interface javax.ws.rs.ext.MessageBodyWriter<SignedOutput>public long getSize(SignedOutput smimeOutput, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType)
getSize in interface javax.ws.rs.ext.MessageBodyWriter<SignedOutput>public void writeTo(SignedOutput out, Class<?> type, Type genericType, Annotation[] annotations, javax.ws.rs.core.MediaType mediaType, javax.ws.rs.core.MultivaluedMap<String,Object> headers, OutputStream os) throws IOException, javax.ws.rs.WebApplicationException
writeTo in interface javax.ws.rs.ext.MessageBodyWriter<SignedOutput>IOExceptionjavax.ws.rs.WebApplicationExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.