Package com.microsoft.playwright.impl
Class ArtifactImpl
- java.lang.Object
-
- com.microsoft.playwright.impl.LoggingSupport
-
- com.microsoft.playwright.impl.ChannelOwner
-
- com.microsoft.playwright.impl.ArtifactImpl
-
class ArtifactImpl extends ChannelOwner
-
-
Field Summary
-
Fields inherited from class com.microsoft.playwright.impl.ChannelOwner
connection, guid, initializer, type
-
-
Constructor Summary
Constructors Constructor Description ArtifactImpl(ChannelOwner parent, java.lang.String type, java.lang.String guid, com.google.gson.JsonObject initializer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancel()java.io.InputStreamcreateReadStream()voiddelete()java.lang.Stringfailure()java.nio.file.PathpathAfterFinished()(package private) byte[]readAllBytes()voidsaveAs(java.nio.file.Path path)-
Methods inherited from class com.microsoft.playwright.impl.ChannelOwner
adopt, disposeChannelOwner, handleEvent, runUntil, sendMessage, sendMessage, sendMessageAsync, toProtocolRef, withLogging, withWaitLogging
-
Methods inherited from class com.microsoft.playwright.impl.LoggingSupport
logApi, logApiIfEnabled, logWithTimestamp, withLogging
-
-
-
-
Constructor Detail
-
ArtifactImpl
public ArtifactImpl(ChannelOwner parent, java.lang.String type, java.lang.String guid, com.google.gson.JsonObject initializer)
-
-
Method Detail
-
createReadStream
public java.io.InputStream createReadStream()
-
readAllBytes
byte[] readAllBytes()
-
cancel
public void cancel()
-
delete
public void delete()
-
failure
public java.lang.String failure()
-
pathAfterFinished
public java.nio.file.Path pathAfterFinished()
-
saveAs
public void saveAs(java.nio.file.Path path)
-
-