mirror of https://gitee.com/bigwinds/arangodb
97 lines
3.2 KiB
C++
97 lines
3.2 KiB
C++
////////////////////////////////////////////////////////////////////////////////
|
|
/// DISCLAIMER
|
|
///
|
|
/// Copyright 2016 ArangoDB GmbH, Cologne, Germany
|
|
///
|
|
/// 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.
|
|
///
|
|
/// Copyright holder is ArangoDB GmbH, Cologne, Germany
|
|
///
|
|
/// @author Jan Steemann
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
|
|
#ifndef ARANGODB_BASICS_STATIC_STRINGS_H
|
|
#define ARANGODB_BASICS_STATIC_STRINGS_H 1
|
|
|
|
#include "Basics/Common.h"
|
|
|
|
namespace arangodb {
|
|
class StaticStrings {
|
|
StaticStrings() = delete;
|
|
|
|
public:
|
|
// constants
|
|
static std::string const Base64;
|
|
static std::string const Binary;
|
|
static std::string const Empty;
|
|
static std::string const N1800;
|
|
|
|
// system attribute names
|
|
static std::string const IdString;
|
|
static std::string const KeyString;
|
|
static std::string const RevString;
|
|
static std::string const FromString;
|
|
static std::string const ToString;
|
|
|
|
// database and collection names
|
|
static std::string const SystemDatabase;
|
|
|
|
// HTTP headers
|
|
static std::string const Accept;
|
|
static std::string const AcceptEncoding;
|
|
static std::string const AccessControlAllowCredentials;
|
|
static std::string const AccessControlAllowHeaders;
|
|
static std::string const AccessControlAllowMethods;
|
|
static std::string const AccessControlAllowOrigin;
|
|
static std::string const AccessControlExposeHeaders;
|
|
static std::string const AccessControlMaxAge;
|
|
static std::string const AccessControlRequestHeaders;
|
|
static std::string const Allow;
|
|
static std::string const Async;
|
|
static std::string const AsyncId;
|
|
static std::string const Authorization;
|
|
static std::string const BatchContentType;
|
|
static std::string const CacheControl;
|
|
static std::string const Close;
|
|
static std::string const Code;
|
|
static std::string const Connection;
|
|
static std::string const ContentEncoding;
|
|
static std::string const ContentTypeHeader;
|
|
static std::string const Coordinator;
|
|
static std::string const CorsMethods;
|
|
static std::string const Error;
|
|
static std::string const ErrorMessage;
|
|
static std::string const ErrorNum;
|
|
static std::string const Errors;
|
|
static std::string const ErrorCodes;
|
|
static std::string const Etag;
|
|
static std::string const Expect;
|
|
static std::string const ExposedCorsHeaders;
|
|
static std::string const KeepAlive;
|
|
static std::string const Location;
|
|
static std::string const MultiPartContentType;
|
|
static std::string const OmitWwwAuthenticate;
|
|
static std::string const Origin;
|
|
static std::string const Queue;
|
|
static std::string const Server;
|
|
static std::string const WwwAuthenticate;
|
|
|
|
// mime types
|
|
static std::string const MimeTypeJson;
|
|
static std::string const MimeTypeText;
|
|
static std::string const MimeTypeVPack;
|
|
};
|
|
}
|
|
|
|
#endif
|