package de.msquadrat.blobwizard.resources;

import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

import com.codahale.metrics.annotation.Timed;

import de.msquadrat.blobwizard.BlobStoreManager;

@Path("/blob/{store}")
@Produces(MediaType.APPLICATION_OCTET_STREAM)
@Consumes(MediaType.APPLICATION_OCTET_STREAM)
public class BlobResource {
    
    public BlobResource(BlobStoreManager storeManager) {
    }
    
    @PUT
    @Timed
    public void putBlob(@PathParam("store") String store) {
        
    }
    
    @GET
    @Timed
    public Object getBlob(@PathParam("store") String store) {
        return null;
    }
    
    @DELETE
    @Timed
    public void deleteBlob(@PathParam("store") String store) {
        
    }

}

@@ -261,16 +261,74 @@
 aType;%0A%0A
+import org.slf4j.Logger;%0Aimport org.slf4j.LoggerFactory;%0A%0A
 import c
@@ -436,16 +436,26 @@
 /%7Bstore%7D
+/%7Bpath:.+%7D
 %22)%0A@Prod
@@ -569,16 +569,102 @@
 ource %7B%0A
+    private static final Logger LOGGER = LoggerFactory.getLogger(BlobResource.class);%0A
     %0A   
@@ -796,32 +796,64 @@
 e%22) String store
+, @PathParam(%22path%22) String path
 ) %7B%0A        %0A   
@@ -930,32 +930,64 @@
 e%22) String store
+, @PathParam(%22path%22) String path
 ) %7B%0A        retu
@@ -1088,16 +1088,48 @@
 ng store
+, @PathParam(%22path%22) String path
 ) %7B%0A    

Add path parameter to BlobResource