Spec-Zone .ru
спецификации, руководства, описания, API

JavaFX: Bringing Rich Experiences To All the Screens Of Your Life

Profile: desktop, common

Overview

A class to represent HTTP headers.

Profile: common

Script Variable Summary

access name type Can Read Can Init Can Write Default Value description
public ACCEPT String

HTTP accept header value name.

public ACCEPT_CHARSET String

HTTP accept-charset header value name.

public ACCEPT_ENCODING String

HTTP accept-encoding header value name.

public ACCEPT_LANGUAGE String

HTTP accept-language header value name.

public ACCEPT_RANGES String

HTTP accept-ranges header value name.

public AUTHORIZATION String

HTTP authorization header value name.

public CACHE_CONTROL String

HTTP cache-control header value name.

public CLOSE String

HTTP close header value name.

public CONNECTION String

HTTP connection header value name.

public CONTENT_ENCODING String

HTTP content-encoding header value name.

public CONTENT_LENGTH String

HTTP content-length header value name.

public CONTENT_TYPE String

HTTP content-type header value name.

public DATE String

HTTP date header value name.

public ETAG String

HTTP etag header value name.

public EXPIRES String

HTTP expires header value name.

public GZIP String

HTTP gzip header value name.

public HOST String

HTTP host header value name.

public IF_MODIFIED_SINCE String

HTTP if-modified-since header value name.

public IF_NONE_MATCH String

HTTP if-none-match header value name.

public ISO_8859_1 String

ISO-8859-1 character encoding header value.

public KEEP_ALIVE String

HTTP keep-alive header value name.

public LAST_MODIFIED String

HTTP last-modified header value name.

public LOCATION String

HTTP location header value name.

public MAX_AGE String

HTTP max-age header value name.

public SERVER String

HTTP server header value name.

public USER_AGENT String

HTTP user-agent header value name.

public UTF_8 String

UTF-8 character encoding header value.

public VARY String

HTTP vary header value name.

Inherited Variables

javafx.data.Pair

access name type Can Read Can Init Can Write Default Value description
public-init name String

Name of this Pair.

public-init value String

Value of this this Pair.

Script Function Summary

public basicAuth(username: java.lang.String, password: java.lang.String) : HttpHeader

Convenience function to create an HttpHeader for HTTP Basic Authentication given a username and password.

Convenience function to create an HttpHeader for HTTP Basic Authentication given a username and password.

Parameters
username
password
Returns
HttpHeader
an AUTHORIZATION, HttpHeader suitable for inserting into HttpRequest#headers,

Profile: common

 

Inherited Functions

javafx.data.Pair

public equals(objectToTest: java.lang.Object) : Boolean

Test this Pair for equality with another Object.

Test this Pair for equality with another Object.

If the Object to be tested is not a Pair or is null, then this method returns false.

Two Pairs are considered equal if and only if both the names and values are equal.

Parameters
objectToTest
the <code>Object</code> to test for equality with this <code>Pair</code>
Returns
Boolean
<code>true</code> if the given <code>Object</code> is equal to this <code>Pair</code> else <code>false</code>
&nbsp;
public hashCode() : Integer

Generate a hash code for this Pair.

Generate a hash code for this Pair.

The hash code is calculated using both the name and the value of the Pair.

Returns
Integer
hash code for this <code>Pair</code>
&nbsp;
public toString() : java.lang.String

String representation of this Pair.

String representation of this Pair.

The default name/value delimiter '=' is always used.

Returns
String
<code>String</code> representation of this <code>Pair</code>
&nbsp;