blob: 3093e9c5c4357cc5ebc00a0ef350eeea2ad9c17c [file] [log] [blame]
/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You 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.apache.camel.component.as2.api;
import org.apache.http.protocol.HTTP;
public interface AS2Header {
/**
* Message Header Name for MIME Version
*/
public static final String MIME_VERSION = "MIME-Version";
/**
* Message Header Name for AS2 From
*/
public static final String AS2_FROM = "AS2-From";
/**
* Message Header Name for AS2 Version
*/
public static final String AS2_VERSION = "AS2-Version";
/**
* Message Header Name for Content Type
*/
public static final String CONTENT_TYPE = "Content-Type";
/**
* Message Header Name for AS2 To
*/
public static final String AS2_TO = "AS2-To";
/**
* Message Header Name for From
*/
public static final String FROM = "From";
/**
* Message Header Name for Subject
*/
public static final String SUBJECT = "Subject";
/**
* Message Header Name for Message ID
*/
public static final String MESSAGE_ID = "Message-Id";
/**
* Message Header Name for Target Host
*/
public static final String TARGET_HOST = HTTP.TARGET_HOST;
/**
* Message Header Name for User Agent
*/
public static final String USER_AGENT = HTTP.USER_AGENT;
/**
* Message Header Name for Server Name
*/
public static final String SERVER = HTTP.SERVER_HEADER;
/**
* Message Header Name for Date
*/
public static final String DATE = HTTP.DATE_HEADER;
/**
* Message Header Name for Content Length
*/
public static final String CONTENT_LENGTH = HTTP.CONTENT_LEN;
/**
* Message Header Name for Connection
*/
public static final String CONNECTION = HTTP.CONN_DIRECTIVE;
/**
* Message Header Name for Expect
*/
public static final String EXPECT = HTTP.EXPECT_DIRECTIVE;
/**
* Message Header name for Content Transfer Encoding
*/
public static final String CONTENT_TRANSFER_ENCODING = "Content-Transfer-Encoding";
/**
* Message Header name for Content Disposition
*/
public static final String CONTENT_DISPOSITION = "Content-Disposition";
/**
* Message Header name for Content Description
*/
public static final String CONTENT_DESCRIPTION = "Content-Description";
/**
* Message Header name for Disposition Notification To
*/
public static final String DISPOSITION_NOTIFICATION_TO = "Disposition-Notification-To";
/**
* Message Header name for Receipt Delivery Option
*/
public static final String RECEIPT_DELIVERY_OPTION = "Receipt-Delivery-Option";
/**
* Message Header name for Receipt Address
*/
public static final String RECIPIENT_ADDRESS = "Recipient-Address";
/**
* Message Header name for Disposition Notification Options
*/
public static final String DISPOSITION_NOTIFICATION_OPTIONS = "Disposition-Notification-Options";
}