Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 463 Bytes

README.md

File metadata and controls

13 lines (7 loc) · 463 Bytes

To build:

mvn compile

To run:

mvn exec:java

To access the service:

curl -XPOST http://localhost:8080/wordcount -F file=@somefile.zip

The grizzly service listens on localhost:8080. To stop the service cleanly, press Enter in the console where the process was started. The web service creates fils in the default temporary diretory. If the service is not stopped cleanly, some files may be left - they can be identified by the prefix wordcount.