Class LPVSLicenseService.OsoriConnection

java.lang.Object
com.lpvs.service.LPVSLicenseService.OsoriConnection
Enclosing class:
LPVSLicenseService

public static class LPVSLicenseService.OsoriConnection extends Object
The OsoriConnection class provides methods for creating a connection to the OSORI database.
  • 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