aboutsummaryrefslogtreecommitdiffstats
path: root/vespaclient-container-plugin/src/main/java/com/yahoo/vespa/http/server/FeedParams.java
blob: 53045faeecc28203acb6681e2343e0392a35f471 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.http.server;

import java.util.concurrent.TimeUnit;

/**
 * Feed level parameters.
 *
 * @author Einar M R Rosenvinge
 */
public final class FeedParams {

    /**
     * Enumeration of data formats that are acceptable by the
     * FeedClient methods.
     */
    public enum DataFormat {
        /** UTF-8-encoded XML. Preamble is not necessary. */
        XML_UTF8,
        JSON_UTF8
    }

}