Home > Contents > Index >
Expanded TOC | Accordion TOC | Annotated TOC | Index
FormPoster
The
FormPoster
class provides methods for constructing and posting multipart mime-encoded messages, the same kind of message format that a Web browser can use to post the results of an HTML form.The
FormPoster
class is the basis for the XMLPost utility, which enables you to load XML-encoded data into content catalogs managed by Sites. If you do not want to use the XMLPost utility, you can use the FormPoster class to write your own utility.The
FormPoster
class extends thejava.lang.Object
List of Fields
Constant Meaning Code ERRORSUCCESS
Success 0
ERRORNOCONSERVER
Cannot connect to server error -1
ERRORNETDISCONNECT
Network disconnected error -2
ERRORNOURLPARAM
Bad URL input parameters error -3
ERRORTIMEOUT
Network timeout forced error -4
ERRORBADRESPONSE
Server response did not contain handshake code error -5
ERRORNOTAUTHENTICATED
Server certificate does not match what is expected error -6
ERROROUTOFMEMORY
Out of memory reading a server response error -7
ERRORGENERAL
General error -8
ERRORFILEIO
File I/O error -9
ERRORILLEGALDATAFORACTION
File data used with Get
method error.-10
List of Other Fields
HTTPVERSION10
HTTP 1.0 flag HTTPVERSION11
HTTP 1.1 flag Post
POST action Get
GET action
Constructor
public FormPoster()
List of Methods
Home > Contents > Index > Oracle JAVA Reference
Copyright (c) 2013, 2016, Oracle and/or its affiliates. All rights reserved.