Class WebSeedEntry

java.lang.Object
com.frostwire.jlibtorrent.WebSeedEntry

public final class WebSeedEntry extends Object
The web_seed_entry holds information about a web seed (also known as URL seed or HTTP seed). It is essentially a URL with some state associated with it. For more information, see `BEP 17`_ and `BEP 19`_.
  • Constructor Details

  • Method Details

    • swig

      public web_seed_entry swig()
    • url

      public String url()
      The URL of the web seed.
      Returns:
    • auth

      public String auth()
      Optional authentication. If this is set, it's passed in as HTTP basic auth to the web seed. The format is: username:password.
      Returns:
    • extraHeaders

      public ArrayList<Pair<String,String>> extraHeaders()
      Any extra HTTP headers that need to be passed to the web seed.
      Returns:
    • type

      public WebSeedEntry.Type type()
      The type of web seed.
      Returns:
      See Also: