类 OssProxyAddressConverter

java.lang.Object
cn.herodotus.oss.solution.proxy.OssProxyAddressConverter
所有已实现的接口:
Function<jakarta.servlet.http.HttpServletRequest,String>, org.springframework.core.convert.converter.Converter<String,String>

@Component public class OssProxyAddressConverter extends Object implements Function<jakarta.servlet.http.HttpServletRequest,String>, org.springframework.core.convert.converter.Converter<String,String>

Description: 默认代理地址转换器

作者:
: gengwei.zheng
Date:
: 2023/8/19 18:21
  • 构造器详细资料

    • OssProxyAddressConverter

      public OssProxyAddressConverter(OssProxyProperties ossProxyProperties)
  • 方法详细资料

    • apply

      public String apply(jakarta.servlet.http.HttpServletRequest request)
      指定者:
      apply 在接口中 Function<jakarta.servlet.http.HttpServletRequest,String>
    • convert

      public String convert(String source)
      指定者:
      convert 在接口中 org.springframework.core.convert.converter.Converter<String,String>