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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprocessResult(DomainFile domainFile, URL url, TaskMonitor monitor) Process the specifieddomainFilequery result.voidprocessResult(DomainFolder domainFolder, URL url, TaskMonitor monitor) Process the specifieddomainFolderquery result.Methods inherited from class ghidra.framework.protocol.ghidra.GhidraURLQueryTask
handleError, isDone, runMethods inherited from class ghidra.util.task.Task
addTaskListener, canCancel, cancel, getStatusTextAlignment, getTaskTitle, getWaitForTaskCompleted, hasProgress, isCancelled, isModal, monitoredRun, notifyTaskListeners, setHasProgressMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ghidra.framework.protocol.ghidra.GhidraURLResultHandler
handleUnauthorizedAccess
-
Constructor Details
-
AcceptUrlContentTask
-
-
Method Details
-
processResult
Description copied from interface:GhidraURLResultHandlerProcess the specifieddomainFilequery result. Dissemination of thedomainFileinstance 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 thedomainFileinstance will become invalid.- Specified by:
processResultin interfaceGhidraURLResultHandler- Overrides:
processResultin classGhidraURLQueryTask- Parameters:
domainFile-DomainFileto which the URL refers.url- URL which was used to retrieve the specifieddomainFilemonitor- 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:GhidraURLResultHandlerProcess the specifieddomainFolderquery result. Dissemination of thedomainFolderinstance 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 thedomainFolderinstance will become invalid.- Specified by:
processResultin interfaceGhidraURLResultHandler- Overrides:
processResultin classGhidraURLQueryTask- Parameters:
domainFolder-DomainFolderto which the URL refers.url- URL which was used to retrieve the specifieddomainFoldermonitor- task monitor- Throws:
IOException- if an IO error occurs
-