Class SnippetProcessor

  • Direct Known Subclasses:
    OpenRtbSnippetProcessor

    public abstract class SnippetProcessor
    extends Object
    Supports preprocessing for "snippets" of textual information, in particular for various String fields from the response OpenRtb.BidResponse.SeatBid.Bids such as the ad markup, URLs and IDs. Additionally, you can use the syntax %{...}% for URL encoding. Nesting can be used, e.g. %{A%{B}%}% will encode A and doubly-encode B. This nesting is typically necessary when URLs have parameter that contain other URLs, so each server decodes and redirects to the next URL.

    This class is threadsafe, and all concrete subclasses have to be too.