content: /*******************************************************************************
   * Software Name : RCS IMS Stack
   *
   * Copyright (C) 2010-2016 Orange.
   *
   * 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 com.gsma.rcs.core.ims.protocol.msrp;
  
  /**
   * MSRP contants
   * 
   * @author jexa7410
   */
  public interface MsrpConstants {
      public static final String MSRP_PROTOCOL = "msrp";
      public static final String MSRP_SECURED_PROTOCOL = "msrps";
      public static final String SOCKET_MSRP_PROTOCOL = "TCP/MSRP";
      public static final String SOCKET_MSRP_SECURED_PROTOCOL = "TCP/TLS/MSRP";
  
      public static final String MSRP_HEADER = "MSRP";
      public static final String NEW_LINE = "\r\n";
      public static final String END_MSRP_MSG = "-------";
  
      public static final int FLAG_LAST_CHUNK = '$';
      public static final int FLAG_MORE_CHUNK = '+';
      public static final int FLAG_ABORT_CHUNK = '#';
  
      public static final byte CHAR_SP = ' ';
      public static final byte CHAR_LF = '\r';
      public static final byte CHAR_CR = '\n';
      public static final byte CHAR_MIN = '-';
      public static final byte CHAR_DOUBLE_POINT = ':';
  
      public static final String HEADER_BYTE_RANGE = "Byte-Range";
      public static final String HEADER_STATUS = "Status";
      public static final String HEADER_CONTENT_TYPE = "Content-Type";
      public static final String HEADER_MESSAGE_ID = "Message-ID";
      public static final String HEADER_TO_PATH = "To-Path";
      public static final String HEADER_FROM_PATH = "From-Path";
      public static final String HEADER_FAILURE_REPORT = "Failure-Report";
      public static final String HEADER_SUCCESS_REPORT = "Success-Report";
  
      public static final String METHOD_SEND = "SEND";
      public static final String METHOD_REPORT = "REPORT";
      public static final String STATUS_200_OK = "200 OK";
  
      public static final int CHUNK_MAX_SIZE = 10 * 1024;
  }
  