Class FlatpackResource

java.lang.Object
org.apache.camel.quarkus.component.flatpack.it.FlatpackResource

@Path("/flatpack") @ApplicationScoped public class FlatpackResource extends Object
  • Field Details

    • producerTemplate

      @Inject org.apache.camel.ProducerTemplate producerTemplate
  • Constructor Details

    • FlatpackResource

      public FlatpackResource()
  • Method Details

    • delimitedUnmarshal

      @Path("/delimited-unmarshal") @GET @Consumes("text/plain") @Produces("text/plain") public String delimitedUnmarshal(String data)
    • delimitedMarshal

      @Path("/delimited-marshal") @GET @Consumes("application/json") @Produces("text/plain") public String delimitedMarshal(List<Map<String,String>> object)
    • fixedLengthUnmarshal

      @Path("/fixed-length-unmarshal") @GET @Consumes("text/plain") @Produces("text/plain") public String fixedLengthUnmarshal(String data)
    • fixedLengthMarshal

      @Path("/fixed-length-marshal") @GET @Consumes("application/json") @Produces("text/plain") public String fixedLengthMarshal(List<Map<String,String>> object)
    • delimited

      @Path("/delimited") @GET @Consumes("text/plain") @Produces("application/json") public LinkedList<?> delimited(String data)
    • fixed

      @Path("/fixed") @GET @Consumes("text/plain") @Produces("application/json") public LinkedList<?> fixed(String data)
    • headerAndTrailer

      @Path("/headerAndTrailer") @GET @Consumes("text/plain") @Produces("application/json") public LinkedList<?> headerAndTrailer(String data)
    • noDescriptor

      @Path("/noDescriptor") @GET @Consumes("text/plain") @Produces("application/json") public LinkedList<?> noDescriptor(String data)
    • invalid

      @Path("/invalid") @GET @Consumes("text/plain") @Produces("text/plain") public String invalid(String data)