@Path(value="/files") @Singleton public class FileWs extends Object
| Constructor and Description |
|---|
FileWs(FileService fileService,
FileConfigurationService config) |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
fetch(long fileId,
String ifNoneMatchHeader) |
@Inject public FileWs(FileService fileService, FileConfigurationService config)
@GET
@Path(value="/{id}{filename: (/.*)?}")
public javax.ws.rs.core.Response fetch(@PathParam(value="id")
long fileId,
@HeaderParam(value="If-None-Match")
String ifNoneMatchHeader)
Copyright © 2018 Coreoz. All rights reserved.