Package step.repositories.http
Class HTTPRepositoryClient
- java.lang.Object
-
- step.repositories.http.HTTPRepositoryClient
-
public class HTTPRepositoryClient extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HTTPRepositoryClient.HTTPRepositoryProfile
-
Constructor Summary
Constructors Constructor Description HTTPRepositoryClient()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description step.resources.Resource
downloadResource(HTTPRepositoryClient.HTTPRepositoryProfile profile, java.lang.String url, java.util.function.Function<java.io.BufferedInputStream,step.resources.Resource> streamConsumer)
java.lang.String
getETag(HTTPRepositoryClient.HTTPRepositoryProfile profile, java.lang.String url)
static java.lang.String
getFileName(java.lang.String url)
-
-
-
Method Detail
-
downloadResource
public step.resources.Resource downloadResource(HTTPRepositoryClient.HTTPRepositoryProfile profile, java.lang.String url, java.util.function.Function<java.io.BufferedInputStream,step.resources.Resource> streamConsumer)
-
getETag
public java.lang.String getETag(HTTPRepositoryClient.HTTPRepositoryProfile profile, java.lang.String url)
-
getFileName
public static java.lang.String getFileName(java.lang.String url)
-
-