Package org.gitlab4j.api.utils
Class FileUtils
- java.lang.Object
-
- org.gitlab4j.api.utils.FileUtils
-
public class FileUtils extends java.lang.Object
This class provides static utility methods used throughout GitLab4J.
-
-
Constructor Summary
Constructors Constructor Description FileUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getFilenameFromContentDisposition(jakarta.ws.rs.core.Response response)
Get the filename from the "Content-Disposition" header of a JAX-RS response.
-
-
-
Method Detail
-
getFilenameFromContentDisposition
public static java.lang.String getFilenameFromContentDisposition(jakarta.ws.rs.core.Response response)
Get the filename from the "Content-Disposition" header of a JAX-RS response.- Parameters:
response
- the JAX-RS Response instance to get the "Content-Disposition" header filename from- Returns:
- the filename from the "Content-Disposition" header of a JAX-RS response, or null if the "Content-Disposition" header is not present in the response
-
-