@HTTPMonitored @Path(value="/") public class FileServerService extends Object
| Constructor and Description |
|---|
FileServerService() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getFile(String fileName) |
void |
postFile(org.wso2.msf4j.HttpStreamer httpStreamer,
String fileName) |
@POST
@Path(value="/{fileName}")
@Timed
public void postFile(@Context
org.wso2.msf4j.HttpStreamer httpStreamer,
@PathParam(value="fileName")
String fileName)
throws IOException
IOException@GET
@Path(value="/{fileName}")
@Timed
public javax.ws.rs.core.Response getFile(@PathParam(value="fileName")
String fileName)
Copyright © 2017 WSO2. All rights reserved.