package intrinsic.mx.rpc.http;

public class HTTPService extends intrinsic.mx.rpc.AbstractInvoker {

	/** Accessors */
	public String resultFormat;
	public String destination;
	public int requestTimeout;
	public boolean useProxy;
	public String url;
	public String rootURL;
	public intrinsic.mx.messaging.ChannelSet channelSet;

	/** Variables */
	public String method;
	public intrinsic.Function xmlEncode;
	public String contentType;
	public Object request;
	public intrinsic.Function xmlDecode;
	public Object headers;

	/** Constants */
	public static final String RESULT_FORMAT_FLASHVARS = "result_format_flashvars";
	public static final String DEFAULT_DESTINATION_HTTP = "default_destination_http";
	public static final String CONTENT_TYPE_XML = "content_type_xml";
	public static final String RESULT_FORMAT_OBJECT = "result_format_object";
	public static final String RESULT_FORMAT_E4X = "result_format_e4x";
	public static final String DEFAULT_DESTINATION_HTTPS = "default_destination_https";
	public static final String ERROR_ENCODING = "error_encoding";
	public static final String CONTENT_TYPE_FORM = "content_type_form";
	public static final String ERROR_URL_REQUIRED = "error_url_required";
	public static final String RESULT_FORMAT_ARRAY = "result_format_array";
	public static final String RESULT_FORMAT_TEXT = "result_format_text";
	public static final String ERROR_DECODING = "error_decoding";
	public static final String RESULT_FORMAT_XML = "result_format_xml";

	/** Class Accessors */

	/** Class variables */

/** Contructors */
public HTTPService() {
}

public HTTPService(Object arg0) {
}

public HTTPService(Object arg0, Object arg1) {
}


/** Static Methods */

/** Methods */
public native intrinsic.mx.rpc.AsyncToken send();
public native intrinsic.mx.rpc.AsyncToken send(Object arg0);
public native void setCredentials(String arg0, String arg1);
public native void logout();
public native void disconnect();
public native void setRemoteCredentials(String arg0, String arg1);

}
