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

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
publicACCEPTString

HTTP accept header value name.

publicACCEPT_CHARSETString

HTTP accept-charset header value name.

publicACCEPT_ENCODINGString

HTTP accept-encoding header value name.

publicACCEPT_LANGUAGEString

HTTP accept-language header value name.

publicACCEPT_RANGESString

HTTP accept-ranges header value name.

publicAUTHORIZATIONString

HTTP authorization header value name.

publicCACHE_CONTROLString

HTTP cache-control header value name.

publicCLOSEString

HTTP close header value name.

publicCONNECTIONString

HTTP connection header value name.

publicCONTENT_ENCODINGString

HTTP content-encoding header value name.

publicCONTENT_LENGTHString

HTTP content-length header value name.

publicCONTENT_TYPEString

HTTP content-type header value name.

publicDATEString

HTTP date header value name.

publicETAGString

HTTP etag header value name.

publicEXPIRESString

HTTP expires header value name.

publicGZIPString

HTTP gzip header value name.

publicHOSTString

HTTP host header value name.

publicIF_MODIFIED_SINCEString

HTTP if-modified-since header value name.

publicIF_NONE_MATCHString

HTTP if-none-match header value name.

publicISO_8859_1String

ISO-8859-1 character encoding header value.

publicKEEP_ALIVEString

HTTP keep-alive header value name.

publicLAST_MODIFIEDString

HTTP last-modified header value name.

publicLOCATIONString

HTTP location header value name.

publicMAX_AGEString

HTTP max-age header value name.

publicSERVERString

HTTP server header value name.

publicUSER_AGENTString

HTTP user-agent header value name.

publicUTF_8String

UTF-8 character encoding header value.

publicVARYString

HTTP vary header value name.

Inherited Variables

javafx.data.Pair

accessnametypeCan ReadCan InitCan WriteDefault Valuedescription
public-initnameString

Name of this Pair.

public-initvalueString

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;