@Path(value="/pdf") @ApplicationScoped public class PdfResource extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) org.apache.camel.ProducerTemplate |
producerTemplate |
| Constructor and Description |
|---|
PdfResource() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
appendText(String message) |
javax.ws.rs.core.Response |
createFromText(String message) |
String |
get() |
@Path(value="/createFromText") @POST @Consumes(value="text/plain") @Produces(value="application/octet-stream") public javax.ws.rs.core.Response createFromText(String message) throws Exception
Exception@Path(value="/appendText") @PUT @Consumes(value="text/plain") @Produces(value="application/octet-stream") public javax.ws.rs.core.Response appendText(String message) throws Exception
ExceptionCopyright © 2019 The Apache Software Foundation. All rights reserved.