Package org.swisspush.gateleen.expansion
Class ZipExtractHandler
- java.lang.Object
-
- org.swisspush.gateleen.expansion.ZipExtractHandler
-
public class ZipExtractHandler extends Object
Enables you to directly browse into a zip file and get the underlying resource.
GET /gateleen/zips/111111.zip/this/is/my/resource- Author:
- https://github.com/ljucam [Mario Ljuca]
-
-
Constructor Summary
Constructors Constructor Description ZipExtractHandler(io.vertx.core.http.HttpClient selfClient)Creates a new instance of the ZipExtractHandler.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhandle(io.vertx.core.http.HttpServerRequest req)If we have a zip resource with a given path, we will handle the request, otherwise not.protected voidperformGETRequest(io.vertx.core.http.HttpServerRequest req, String zipUrl, String insidePath)Performs the initial GET request of the zip resource.
-