Package com.lpvs.service
Class LPVSLicenseService.OsoriConnection
java.lang.Object
com.lpvs.service.LPVSLicenseService.OsoriConnection
- Enclosing class:
- LPVSLicenseService
The OsoriConnection class provides methods for creating a connection to the OSORI database.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateConnection
(String osoriDbUrl, String licenseSpdxId) Creates a connection to the OSORI database using the specified OSORI server and license SPDX identifier.
-
Constructor Details
-
OsoriConnection
public OsoriConnection()
-
-
Method Details
-
createConnection
public HttpURLConnection createConnection(String osoriDbUrl, String licenseSpdxId) throws IOException Creates a connection to the OSORI database using the specified OSORI server and license SPDX identifier.- Parameters:
osoriDbUrl
- The URL of the OSORI server.licenseSpdxId
- The license SPDX identifier.- Returns:
- A HttpURLConnection object representing the connection to the OSORI database.
- Throws:
IOException
-