1 /* 2 * Copyright 2002-2009 the original author or authors. 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 package org.springframework.ws.transport; 18 19 /** 20 * Declares useful transport constants. 21 * 22 * @author Arjen Poutsma 23 * @since 1.0.0 24 */ 25 public interface TransportConstants { 26 27 /** The "Accept" header. */ 28 String HEADER_ACCEPT = "Accept"; 29 30 /** The "Content-Id" header. */ 31 String HEADER_CONTENT_ID = "Content-Id"; 32 33 /** The "Content-Length" header. */ 34 String HEADER_CONTENT_LENGTH = "Content-Length"; 35 36 /** The "Content-Transfer-Encoding" header. */ 37 String HEADER_CONTENT_TRANSFER_ENCODING = "Content-Transfer-Encoding"; 38 39 /** The "Content-Type" header. */ 40 String HEADER_CONTENT_TYPE = "Content-Type"; 41 42 /** The "SOAPAction" header, used in SOAP 1.1. */ 43 String HEADER_SOAP_ACTION = "SOAPAction"; 44 45 /** The "action" parameter, used to set SOAP Actions in SOAP 1.2. */ 46 String PARAMETER_ACTION = "action"; 47 48 /** The empty SOAP action value. */ 49 String EMPTY_SOAP_ACTION = "\"\""; 50 }