Class LeveldbResource


  • @Path("/leveldb")
    @ApplicationScoped
    public class LeveldbResource
    extends Object
    • Field Detail

      • PARAMETER_BODY

        public static String PARAMETER_BODY
      • PARAMETER_FROM_ENDPOINT

        public static String PARAMETER_FROM_ENDPOINT
      • MOCKS_DELIMITER

        public static String MOCKS_DELIMITER
      • producerTemplate

        @Inject
        org.apache.camel.ProducerTemplate producerTemplate
      • context

        @Inject
        org.apache.camel.CamelContext context
    • Constructor Detail

      • LeveldbResource

        public LeveldbResource()
    • Method Detail

      • aggregateTest

        @Path("/aggregate")
        @POST
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response aggregateTest​(List<String> messages,
                                                       @QueryParam("path")
                                                       String path,
                                                       @DefaultValue("mock:result") @QueryParam("mocks")
                                                       String mockNames)
                                                throws Exception
        Throws:
        Exception
      • aggregateBinaryTest

        @Path("/aggregateBinary")
        @POST
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response aggregateBinaryTest​(String[] messages)
                                                      throws Exception
        Throws:
        Exception