类 CssLinkResourceTransformer.AbstractLinkParser

    • 方法详细资料

      • getKeyword

        protected abstract String getKeyword()
        Return the keyword to use to search for links, e.g. "@import", "url("
      • extractLink

        protected int extractLink​(int index,
                                  char endChar,
                                  String content,
                                  Set<org.springframework.web.reactive.resource.CssLinkResourceTransformer.ContentChunkInfo> result)
      • extractUnquotedLink

        protected abstract int extractUnquotedLink​(int position,
                                                   String content,
                                                   Set<org.springframework.web.reactive.resource.CssLinkResourceTransformer.ContentChunkInfo> linksToAdd)
        Invoked after a keyword match, after whitespace has been removed, and when the next char is neither a single nor double quote.