Home > Contents > Index >
Expanded TOC   |    Accordion TOC   |    Annotated TOC   |    Index

 

FormPoster.setHTTPVersion

Sets the HTTP protocol version to use.

Syntax

Parameters

nVersion
Value for the HTTP protocol. Valid values are as follows:

Description

The setHTTPVersion method sets the HTTP protocol version. By default the FormPoster object transmits data using HTTP version 1.0.

Throws

Exception if the HTTP version is invalid.

Example

 

  Home > Contents > Index >

Oracle JAVA Reference
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.