Class GhidraOSGIStreamHandler
java.lang.Object
java.net.URLStreamHandler
org.osgi.service.url.AbstractURLStreamHandlerService
ghidra.framework.protocol.ghidra.GhidraOSGIStreamHandler
- All Implemented Interfaces:
org.osgi.service.url.URLStreamHandlerService
public class GhidraOSGIStreamHandler
extends org.osgi.service.url.AbstractURLStreamHandlerService
GhidraOSGIStreamHandler provides a Ghidra URL stream handler service for
Felix OSGI. This allows direct use of the standard ghidra protocol
Handler and bypasses the improper IOException propagation caused by
URLHandlersStreamHandlerProxy.openConnection(URL).-
Field Summary
Fields inherited from class org.osgi.service.url.AbstractURLStreamHandlerService
realHandler -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.osgi.service.url.AbstractURLStreamHandlerService
equals, getHostAddress, hashCode, hostsEqual, parseURL, sameFile, setURL, setURL, toExternalFormMethods inherited from class URLStreamHandler
openConnection, parseURL
-
Constructor Details
-
GhidraOSGIStreamHandler
public GhidraOSGIStreamHandler()
-
-
Method Details
-
openConnection
- Specified by:
openConnectionin interfaceorg.osgi.service.url.URLStreamHandlerService- Specified by:
openConnectionin classorg.osgi.service.url.AbstractURLStreamHandlerService- Throws:
IOException
-
getDefaultPort
public int getDefaultPort()- Specified by:
getDefaultPortin interfaceorg.osgi.service.url.URLStreamHandlerService- Overrides:
getDefaultPortin classorg.osgi.service.url.AbstractURLStreamHandlerService
-