Package ghidra.framework.protocol.ghidra
Class DefaultGhidraProtocolHandler
java.lang.Object
ghidra.framework.protocol.ghidra.GhidraProtocolHandler
ghidra.framework.protocol.ghidra.DefaultGhidraProtocolHandler
- All Implemented Interfaces:
ExtensionPoint
DefaultGhidraProtocolHandler
provides the default protocol
handler which corresponds to the original RMI-based Ghidra Server
and local file-based Ghidra projects.
ghidra://host/repo/... or ghidra:/path/projectName/...
See DefaultGhidraProtocolConnector
and DefaultLocalGhidraProtocolConnector
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetConnector
(URL ghidraUrl) Get the Ghidra protocol connector for a Ghidra URL which requires this extension.boolean
isExtensionSupported
(String extProtocolName) Determine if this protocol handler is responsible for handling the specified named protocol extension.
-
Constructor Details
-
DefaultGhidraProtocolHandler
public DefaultGhidraProtocolHandler()
-
-
Method Details
-
isExtensionSupported
Description copied from class:GhidraProtocolHandler
Determine if this protocol handler is responsible for handling the specified named protocol extension. One handler may support multiple protocol extension names (e.g., http and https).- Specified by:
isExtensionSupported
in classGhidraProtocolHandler
- Parameters:
extProtocolName
- protocol extension name- Returns:
- true if this handler supports the specified protocol extension name
-
getConnector
Description copied from class:GhidraProtocolHandler
Get the Ghidra protocol connector for a Ghidra URL which requires this extension.- Specified by:
getConnector
in classGhidraProtocolHandler
- Parameters:
ghidraUrl
- Ghidra protocol URL- Returns:
- Ghidra protocol connector
- Throws:
MalformedURLException
- if URL is invalid
-