Class CheckJellyfinConnection

java.lang.Object
com.lariflix.jemm.core.CheckJellyfinConnection

public class CheckJellyfinConnection extends Object
This class is used to check the connection to the Jellyfin server.
Since:
1.0
Author:
Cesar Bianchi
See Also:
  • Constructor Details

    • CheckJellyfinConnection

      public CheckJellyfinConnection()
  • Method Details

    • CheckJellyfinConnection

      public void CheckJellyfinConnection()
      Constructor for the CheckJellyfinConnection class.
      Since:
      1.0
    • tryConnection

      public JellyfinConnectionResult tryConnection(String cURL, String cApiKey) throws MalformedURLException
      Tries to establish a connection to the Jellyfin server.
      Parameters:
      cURL - The URL of the Jellyfin server.
      cApiKey - The API key for the Jellyfin server.
      Returns:
      A JellyfinConnectionResult object containing the result of the connection attempt.
      Throws:
      MalformedURLException - If the provided URL is not valid.
      Since:
      1.0