Interface URLProvider

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface URLProvider
URL提供器接口

该接口定义了一个函数式接口,用于提供URL字符串。 实现类需要提供具体的URL生成或获取逻辑。

Author:
Kerbores(kerbores@riemann.tech)
  • Method Summary

    Modifier and Type
    Method
    Description
    提供URL字符串
  • Method Details

    • provide

      String provide()
      提供URL字符串

      该方法由实现类提供具体的URL生成或获取逻辑, 返回一个字符串形式的URL地址。

      Returns:
      URL字符串,表示资源定位地址