Package ghidra.framework.main
Class AcceptUrlContentTask
java.lang.Object
ghidra.util.task.Task
ghidra.framework.protocol.ghidra.GhidraURLQueryTask
ghidra.framework.main.AcceptUrlContentTask
- All Implemented Interfaces:
GhidraURLResultHandler
,MonitoredRunnable
-
Field Summary
Fields inherited from class ghidra.util.task.Task
taskMonitor, waitForTaskCompleted
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
processResult
(DomainFile domainFile, URL url, TaskMonitor monitor) Process the specifieddomainFile
query result.void
processResult
(DomainFolder domainFolder, URL url, TaskMonitor monitor) Process the specifieddomainFolder
query result.Methods inherited from class ghidra.framework.protocol.ghidra.GhidraURLQueryTask
handleError, isDone, run
Methods inherited from class ghidra.util.task.Task
addTaskListener, canCancel, cancel, getStatusTextAlignment, getTaskTitle, getWaitForTaskCompleted, hasProgress, isCancelled, isModal, monitoredRun, notifyTaskListeners, setHasProgress
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ghidra.framework.protocol.ghidra.GhidraURLResultHandler
handleUnauthorizedAccess
-
Constructor Details
-
AcceptUrlContentTask
-
-
Method Details
-
processResult
Description copied from interface:GhidraURLResultHandler
Process the specifieddomainFile
query result. Dissemination of thedomainFile
instance should be restricted and any use of it completed before the call to this method returns. Upon return from this method call the underlying connection will be closed and at which time thedomainFile
instance will become invalid.- Specified by:
processResult
in interfaceGhidraURLResultHandler
- Overrides:
processResult
in classGhidraURLQueryTask
- Parameters:
domainFile
-DomainFile
to which the URL refers.url
- URL which was used to retrieve the specifieddomainFile
monitor
- task monitor- Throws:
IOException
- if an IO error occurs
-
processResult
public void processResult(DomainFolder domainFolder, URL url, TaskMonitor monitor) throws IOException Description copied from interface:GhidraURLResultHandler
Process the specifieddomainFolder
query result. Dissemination of thedomainFolder
instance should be restricted and any use of it completed before the call to this method returns. Upon return from this method call the underlying connection will be closed and at which time thedomainFolder
instance will become invalid.- Specified by:
processResult
in interfaceGhidraURLResultHandler
- Overrides:
processResult
in classGhidraURLQueryTask
- Parameters:
domainFolder
-DomainFolder
to which the URL refers.url
- URL which was used to retrieve the specifieddomainFolder
monitor
- task monitor- Throws:
IOException
- if an IO error occurs
-