Home > Contents > Index >
Expanded TOC | Accordion TOC | Annotated TOC | Index
FormPoster
The
FormPosterclass 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
FormPosterclass 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
FormPosterclass extends thejava.lang.Object
List of Fields
Constant Meaning Code ERRORSUCCESSSuccess 0ERRORNOCONSERVERCannot connect to server error -1ERRORNETDISCONNECTNetwork disconnected error -2ERRORNOURLPARAMBad URL input parameters error -3ERRORTIMEOUTNetwork timeout forced error -4ERRORBADRESPONSEServer response did not contain handshake code error -5ERRORNOTAUTHENTICATEDServer certificate does not match what is expected error -6ERROROUTOFMEMORYOut of memory reading a server response error -7ERRORGENERALGeneral error -8ERRORFILEIOFile I/O error -9ERRORILLEGALDATAFORACTIONFile data used with Getmethod error.-10
List of Other Fields
HTTPVERSION10HTTP 1.0 flag HTTPVERSION11HTTP 1.1 flag PostPOST action GetGET action
Constructor
public FormPoster()
List of Methods
Home > Contents > Index > ![]()
Oracle JAVA Reference
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.