Constant Field Values
Contents
kong.unirest.*
-
kong.unirest.core.Config Modifier and Type Constant Field Value public static final int
DEFAULT_CONNECT_TIMEOUT
10000
public static final String
JDK_HTTPCLIENT_KEEPALIVE_TIMEOUT
"jdk.httpclient.keepalive.timeout"
-
kong.unirest.core.CookieSpecs Modifier and Type Constant Field Value public static final String
DEFAULT
"default"
public static final String
IGNORE_COOKIES
"ignoreCookies"
public static final String
NETSCAPE
"netscape"
public static final String
STANDARD
"standard"
public static final String
STANDARD_STRICT
"standard-strict"
-
kong.unirest.core.HeaderNames Modifier and Type Constant Field Value public static final String
ACCEPT
"Accept"
public static final String
ACCEPT_CHARSET
"Accept-Charset"
public static final String
ACCEPT_ENCODING
"Accept-Encoding"
public static final String
ACCEPT_LANGUAGE
"Accept-Language"
public static final String
ACCEPT_RANGES
"Accept-Ranges"
public static final String
AGE
"Age"
public static final String
ALLOW
"Allow"
public static final String
AUTHORIZATION
"Authorization"
public static final String
CACHE_CONTROL
"Cache-Control"
public static final String
CONNECTION
"Connection"
public static final String
CONTENT_ENCODING
"Content-Encoding"
public static final String
CONTENT_LANGUAGE
"Content-Language"
public static final String
CONTENT_LENGTH
"Content-Length"
public static final String
CONTENT_LOCATION
"Content-Location"
public static final String
CONTENT_MD5
"Content-MD5"
public static final String
CONTENT_RANGE
"Content-Range"
public static final String
CONTENT_TYPE
"Content-Type"
public static final String
DATE
"Date"
public static final String
DAV
"Dav"
public static final String
DEPTH
"Depth"
public static final String
DESTINATION
"Destination"
public static final String
ETAG
"ETag"
public static final String
EXPECT
"Expect"
public static final String
EXPIRES
"Expires"
public static final String
FROM
"From"
public static final String
HOST
"Host"
public static final String
IF
"If"
public static final String
IF_MATCH
"If-Match"
public static final String
IF_MODIFIED_SINCE
"If-Modified-Since"
public static final String
IF_NONE_MATCH
"If-None-Match"
public static final String
IF_RANGE
"If-Range"
public static final String
IF_UNMODIFIED_SINCE
"If-Unmodified-Since"
public static final String
LAST_MODIFIED
"Last-Modified"
public static final String
LOCATION
"Location"
public static final String
LOCK_TOKEN
"Lock-Token"
public static final String
MAX_FORWARDS
"Max-Forwards"
public static final String
OVERWRITE
"Overwrite"
public static final String
PRAGMA
"Pragma"
public static final String
PROXY_AUTHENTICATE
"Proxy-Authenticate"
public static final String
PROXY_AUTHORIZATION
"Proxy-Authorization"
public static final String
RANGE
"Range"
public static final String
REFERER
"Referer"
public static final String
RETRY_AFTER
"Retry-After"
public static final String
SERVER
"Server"
public static final String
STATUS_URI
"Status-URI"
public static final String
TE
"TE"
public static final String
TIMEOUT
"Timeout"
public static final String
TRAILER
"Trailer"
public static final String
TRANSFER_ENCODING
"Transfer-Encoding"
public static final String
UPGRADE
"Upgrade"
public static final String
USER_AGENT
"User-Agent"
public static final String
VARY
"Vary"
public static final String
VIA
"Via"
public static final String
WARNING
"Warning"
public static final String
WWW_AUTHENTICATE
"WWW-Authenticate"
-
kong.unirest.core.HttpStatus Modifier and Type Constant Field Value public static final int
ACCEPTED
202
public static final int
ALREADY_REPORTED
208
public static final int
BAD_GATEWAY
502
public static final int
BAD_REQUEST
400
public static final int
CONFLICT
409
public static final int
CREATED
201
public static final int
EXPECTATION_FAILED
417
public static final int
FAILED_DEPENDENCY
424
public static final int
FORBIDDEN
403
public static final int
FOUND
302
public static final int
GATEWAY_TIMEOUT
504
public static final int
GONE
410
public static final int
IM_A_TEAPOT
418
public static final int
IM_USED
226
public static final int
INSUFFICIENT_STORAGE
507
public static final int
INTERNAL_SERVER_ERROR
500
public static final int
LENGTH_REQUIRED
411
public static final int
LOCKED
423
public static final int
LOOP_DETECTED
508
public static final int
METHOD_NOT_ALLOWED
405
public static final int
MISDIRECTED_REQUEST
421
public static final int
MOVED_PERMANENTLY
301
public static final int
MULTI_STATUS
207
public static final int
MULTIPLE_CHOICE
300
public static final int
NETWORK_AUTHENTICATION_REQUIRED
511
public static final int
NO_CONTENT
204
public static final int
NON_AUTHORITATIVE_INFORMATION
203
public static final int
NOT_ACCEPTABLE
406
public static final int
NOT_EXTENDED
510
public static final int
NOT_FOUND
404
public static final int
NOT_IMPLEMENTED
501
public static final int
NOT_MODIFIED
304
public static final int
OK
200
public static final int
PARTIAL_CONTENT
206
public static final int
PAYLOAD_TOO_LARGE
413
public static final int
PAYMENT_REQUIRED
402
public static final int
PERMANENT_REDIRECT
308
public static final int
PRECONDITION_FAILED
412
public static final int
PRECONDITION_REQUIRED
428
public static final int
PROXY_AUTHENTICATION_REQUIRED
407
public static final int
RANGE_NOT_SATISFIABLE
416
public static final int
REQUEST_HEADER_FIELDS_TOO_LARGE
431
public static final int
REQUEST_TIMEOUT
408
public static final int
RESET_CONTENT
205
public static final int
SEE_OTHER
303
public static final int
SERVICE_UNAVAILABLE
503
public static final int
TEMPORARY_REDIRECT
307
public static final int
TOO_EARLY
425
public static final int
TOO_MANY_REQUESTS
429
public static final int
UNAUTHORIZED
401
public static final int
UNAVAILABLE_FOR_LEGAL_REASONS
451
public static final int
UNPROCESSABLE_ENTITY
422
public static final int
UNSUPPORTED_MEDIA_TYPE
415
public static final int
UNUSED
306
public static final int
UPGRADE_REQUIRED
426
public static final int
URI_TOO_LONG
414
public static final int
USE_PROXY
305
public static final int
VARIANT_ALSO_NEGOTIATES
506
public static final int
VERSION_NOT_SUPPORTED
505
-
kong.unirest.core.JsonPatchRequest Modifier and Type Constant Field Value public static final String
CONTENT_TYPE
"application/json-patch+json"
-
kong.unirest.core.MimeTypes Modifier and Type Constant Field Value public static final String
AU
"audio/basic"
public static final String
AVI
"video/msvideo,video/avi,video/x-msvideo"
public static final String
BMP
"image/bmp"
public static final String
BZ2
"application/x-bzip2"
public static final String
CSS
"text/css"
public static final String
DOC
"application/msword"
public static final String
DOCX
"application/vnd.openxmlformats-officedocument.wordprocessingml.document"
public static final String
DOTX
"application/vnd.openxmlformats-officedocument.wordprocessingml.template"
public static final String
DTD
"application/xml-dtd"
public static final String
EOT
"application/vnd.ms-fontobject"
public static final String
ES
"application/ecmascript"
public static final String
EXE
"application/octet-stream"
public static final String
GIF
"image/gif"
public static final String
GZ
"application/x-gzip"
public static final String
HQX
"application/mac-binhex40"
public static final String
HTML
"text/html"
public static final String
ICO
"image/x-icon"
public static final String
JAR
"application/java-archive"
public static final String
JPG
"image/jpeg"
public static final String
JS
"application/javascript"
public static final String
JSON
"application/json"
public static final String
MIDI
"audio/x-midi"
public static final String
MJS
"application/javascript"
public static final String
MP3
"audio/mpeg"
public static final String
MPEG
"video/mpeg"
public static final String
OGG
"audio/vorbis,application/ogg"
public static final String
OTF
"application/font-otf"
public static final String
PDF
"application/pdf"
public static final String
PL
"application/x-perl"
public static final String
PNG
"image/png"
public static final String
POTX
"application/vnd.openxmlformats-officedocument.presentationml.template"
public static final String
PPSX
"application/vnd.openxmlformats-officedocument.presentationml.slideshow"
public static final String
PPT
"application/vnd.ms-powerpointtd"
public static final String
PPTX
"application/vnd.openxmlformats-officedocument.presentationml.presentation"
public static final String
PS
"application/postscript"
public static final String
QT
"video/quicktime"
public static final String
RAM
"audio/x-pn-realaudio,audio/vnd.rn-realaudio"
public static final String
RAR
"application/x-rar-compressed"
public static final String
RDF
"application/rdf,application/rdf+xml"
public static final String
RTF
"application/rtf"
public static final String
SGML
"text/sgml"
public static final String
SIT
"application/x-stuffit"
public static final String
SLDX
"application/vnd.openxmlformats-officedocument.presentationml.slide"
public static final String
SVG
"image/svg+xml"
public static final String
SWF
"application/x-shockwave-flash"
public static final String
TGZ
"application/x-tar"
public static final String
TIFF
"image/tiff"
public static final String
TSV
"text/tab-separated-values"
public static final String
TTF
"application/font-ttf"
public static final String
TXT
"text/plain"
public static final String
WAV
"audio/wav,audio/x-wav"
public static final String
WOF2
"application/font-woff2"
public static final String
WOFF
"application/font-woff"
public static final String
XLAM
"application/vnd.ms-excel.addin.macroEnabled.12"
public static final String
XLS
"application/vnd.ms-excel"
public static final String
XLSB
"application/vnd.ms-excel.sheet.binary.macroEnabled.12"
public static final String
XLSX
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"
public static final String
XLTX
"application/vnd.openxmlformats-officedocument.spreadsheetml.template"
public static final String
XML
"application/xml"
public static final String
ZIP
"application/zip,application/x-compressed-zip"