public final class HttpConstants extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTENT_TYPE_CLEAN_JSON
VAPI JSON-RPC without type information and framing
|
static String |
CONTENT_TYPE_CLEAN_STREAM_JSON
VAPI JSON-RPC with multiple streamed response frames without type information
|
static String |
CONTENT_TYPE_FRAMED
Content-Type prefix for HTTP responses which contain multiple response
frames.
|
static String |
CONTENT_TYPE_JSON
Content-Type for JSON HTTP requests and single frame JSON HTTP responses.
|
static String |
CONTENT_TYPE_STREAM_JSON
VAPI JSON-RPC with multiple streamed responses and type information
|
static String |
HEADER_ACCEPT
The HTTP
Accept header name. |
static String |
HEADER_ACCEPT_LANGUAGE
The HTTP
accept-language header name. |
static String |
HEADER_APPLICATION_CONTEXT_PREFIX
The HTTP header prefix for application context.
|
static String |
HEADER_CONTENT_TYPE
The HTTP
Content-Type header name. |
static String |
HEADER_OPERATION_ID
The HTTP header name reserved for operation identification.
|
static String |
HEADER_SERVICE_ID
The HTTP header name reserved for service identification.
|
static String |
HEADER_SESSION_ID
The HTTP header name reserved for session identification.
|
static String |
HEADER_USER_AGENT
The HTTP
User-Agent header name. |
static List<String> |
RESERVED_HEADERS
The HTTP header names being used by vAPI's runtime.
|
public static final String HEADER_CONTENT_TYPE
Content-Type header name.public static final String HEADER_USER_AGENT
User-Agent header name.public static final String HEADER_ACCEPT
Accept header name.public static final String HEADER_SERVICE_ID
public static final String HEADER_OPERATION_ID
public static final String HEADER_SESSION_ID
public static final String HEADER_APPLICATION_CONTEXT_PREFIX
public static final String CONTENT_TYPE_JSON
public static final String CONTENT_TYPE_FRAMED
public static final String CONTENT_TYPE_STREAM_JSON
public static final String CONTENT_TYPE_CLEAN_JSON
public static final String CONTENT_TYPE_CLEAN_STREAM_JSON
public static final String HEADER_ACCEPT_LANGUAGE
accept-language header name.Copyright © 2022. All rights reserved.