View Javadoc
1   /*
2    * Copyright 2005-2012 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 "Accept-Encoding" header. */
31      String HEADER_ACCEPT_ENCODING = "Accept-Encoding";
32  
33      /** The "Content-Id" header. */
34      String HEADER_CONTENT_ID = "Content-Id";
35  
36      /** The "Content-Length" header. */
37      String HEADER_CONTENT_LENGTH = "Content-Length";
38  
39      /** The "Content-Transfer-Encoding" header. */
40      String HEADER_CONTENT_TRANSFER_ENCODING = "Content-Transfer-Encoding";
41  
42      /** The "Content-Type" header. */
43      String HEADER_CONTENT_TYPE = "Content-Type";
44  
45      /** The "SOAPAction" header, used in SOAP 1.1. */
46      String HEADER_SOAP_ACTION = "SOAPAction";
47  
48      /** The "action" parameter, used to set SOAP Actions in SOAP 1.2. */
49      String PARAMETER_ACTION = "action";
50  
51      /** The empty SOAP action value. */
52      String EMPTY_SOAP_ACTION = "\"\"";
53  }