Package com.codeborne.selenide.proxy
Class DownloadedFile
- java.lang.Object
-
- com.codeborne.selenide.proxy.DownloadedFile
-
@ParametersAreNonnullByDefault public class DownloadedFile extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DownloadedFile(java.io.File file, java.util.Map<java.lang.String,java.lang.String> headers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetContentType()java.io.FilegetFile()booleanhasContentDispositionHeader()inthashCode()
-
-
-
Method Detail
-
getFile
@CheckReturnValue @Nonnull public java.io.File getFile()
-
hasContentDispositionHeader
@CheckReturnValue public boolean hasContentDispositionHeader()
-
getContentType
@Nullable public java.lang.String getContentType()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
-