/*! ******************************************************************************
*
* Pentaho Data Integration
*
* Copyright (C) 2002-2013 by Pentaho : http://www.pentaho.com
*
*******************************************************************************
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
******************************************************************************/
package org.pentaho.di.trans.steps.httppost;
import org.apache.commons.httpclient.NameValuePair;
import org.pentaho.di.core.row.RowMetaInterface;
import org.pentaho.di.trans.step.BaseStepData;
import org.pentaho.di.trans.step.StepDataInterface;
/**
* @author Matt
* @since 24-jan-2005
*
*/
public class HTTPPOSTData extends BaseStepData implements StepDataInterface {
public RowMetaInterface outputRowMeta;
public RowMetaInterface inputRowMeta;
public String realEncoding;
public int[] header_parameters_nrs;
public int[] body_parameters_nrs;
public int[] query_parameters_nrs;
public int indexOfUrlField;
public String realUrl;
public NameValuePair[] headerParameters;
public NameValuePair[] bodyParameters;
public NameValuePair[] queryParameters;
public boolean useHeaderParameters;
public boolean contentTypeHeaderOverwrite;
public boolean useBodyParameters;
public boolean useQueryParameters;
public int indexOfRequestEntity;
public String realProxyHost;
public int realProxyPort;
public String realHttpLogin;
public String realHttpPassword;
public int realSocketTimeout;
public int realConnectionTimeout;
public int realcloseIdleConnectionsTime;
public HTTPPOSTData() {
super();
indexOfUrlField = -1;
useHeaderParameters = false;
contentTypeHeaderOverwrite = false;
useBodyParameters = false;
useQueryParameters = false;
indexOfRequestEntity = -1;
realEncoding = null;
realProxyHost = null;
realProxyPort = 8080;
realHttpLogin = null;
realHttpPassword = null;
}
}