OpenSim::ApplicationPlugins::Rest::Inventory::Rest Class Reference

List of all members.

Static Public Member Functions

static string StringToBase64 (string str)
 Utility routines.
static string Base64ToString (string str)
static int Hex2Int (string hex)
static string NonceGenerator ()
static void Dump (byte[] data)

Public Attributes

const string AS_BASIC = "Basic"
 Supported authentication schemes.
const string AS_DIGEST = "Digest"
const string Digest_MD5 = "MD5"
 Supported Digest algorithms.
const string Digest_MD5Sess = "MD5-sess"
const string Qop_Auth = "auth"
const string Qop_Int = "auth-int"
const string Name = "REST 1.0"
const string GET = "get"
 Currently defined HTTP methods. Only GET and HEAD are required to be supported by all servers. See Respond to see how these are handled.
const string HEAD = "head"
const string POST = "post"
const string PUT = "put"
const string DELETE = "delete"
const string OPTIONS = "options"
const string TRACE = "trace"
const string CONNECT = "connect"
const string UrlPathSeparator = "/"
const string UrlMethodSeparator = ":"
const bool PERMANENT = false
const bool TEMPORARY = true
const int HttpStatusCodeContinue = 100
const int HttpStatusCodeSwitchingProtocols = 101
const int HttpStatusCodeOK = 200
const int HttpStatusCodeCreated = 201
const int HttpStatusCodeAccepted = 202
const int HttpStatusCodeNonAuthoritative = 203
const int HttpStatusCodeNoContent = 204
const int HttpStatusCodeResetContent = 205
const int HttpStatusCodePartialContent = 206
const int HttpStatusCodeMultipleChoices = 300
const int HttpStatusCodePermanentRedirect = 301
const int HttpStatusCodeFound = 302
const int HttpStatusCodeSeeOther = 303
const int HttpStatusCodeNotModified = 304
const int HttpStatusCodeUseProxy = 305
const int HttpStatusCodeReserved306 = 306
const int HttpStatusCodeTemporaryRedirect = 307
const int HttpStatusCodeBadRequest = 400
const int HttpStatusCodeNotAuthorized = 401
const int HttpStatusCodePaymentRequired = 402
const int HttpStatusCodeForbidden = 403
const int HttpStatusCodeNotFound = 404
const int HttpStatusCodeMethodNotAllowed = 405
const int HttpStatusCodeNotAcceptable = 406
const int HttpStatusCodeProxyAuthenticate = 407
const int HttpStatusCodeTimeOut = 408
const int HttpStatusCodeConflict = 409
const int HttpStatusCodeGone = 410
const int HttpStatusCodeLengthRequired = 411
const int HttpStatusCodePreconditionFailed = 412
const int HttpStatusCodeEntityTooLarge = 413
const int HttpStatusCodeUriTooLarge = 414
const int HttpStatusCodeUnsupportedMedia = 415
const int HttpStatusCodeRangeNotSatsified = 416
const int HttpStatusCodeExpectationFailed = 417
const int HttpStatusCodeServerError = 500
const int HttpStatusCodeNotImplemented = 501
const int HttpStatusCodeBadGateway = 502
const int HttpStatusCodeServiceUnavailable = 503
const int HttpStatusCodeGatewayTimeout = 504
const int HttpStatusCodeHttpVersionError = 505
const string HttpHeaderAccept = "Accept"
const string HttpHeaderAcceptCharset = "Accept-Charset"
const string HttpHeaderAcceptEncoding = "Accept-Encoding"
const string HttpHeaderAcceptLanguage = "Accept-Language"
const string HttpHeaderAcceptRanges = "Accept-Ranges"
const string HttpHeaderAge = "Age"
const string HttpHeaderAllow = "Allow"
const string HttpHeaderAuthorization = "Authorization"
const string HttpHeaderCacheControl = "Cache-Control"
const string HttpHeaderConnection = "Connection"
const string HttpHeaderContentEncoding = "Content-Encoding"
const string HttpHeaderContentLanguage = "Content-Language"
const string HttpHeaderContentLength = "Content-Length"
const string HttpHeaderContentLocation = "Content-Location"
const string HttpHeaderContentMD5 = "Content-MD5"
const string HttpHeaderContentRange = "Content-Range"
const string HttpHeaderContentType = "Content-Type"
const string HttpHeaderDate = "Date"
const string HttpHeaderETag = "ETag"
const string HttpHeaderExpect = "Expect"
const string HttpHeaderExpires = "Expires"
const string HttpHeaderFrom = "From"
const string HttpHeaderHost = "Host"
const string HttpHeaderIfMatch = "If-Match"
const string HttpHeaderIfModifiedSince = "If-Modified-Since"
const string HttpHeaderIfNoneMatch = "If-None-Match"
const string HttpHeaderIfRange = "If-Range"
const string HttpHeaderIfUnmodifiedSince = "If-Unmodified-Since"
const string HttpHeaderLastModified = "Last-Modified"
const string HttpHeaderLocation = "Location"
const string HttpHeaderMaxForwards = "Max-Forwards"
const string HttpHeaderPragma = "Pragma"
const string HttpHeaderProxyAuthenticate = "Proxy-Authenticate"
const string HttpHeaderProxyAuthorization = "Proxy-Authorization"
const string HttpHeaderRange = "Range"
const string HttpHeaderReferer = "Referer"
const string HttpHeaderRetryAfter = "Retry-After"
const string HttpHeaderServer = "Server"
const string HttpHeaderTE = "TE"
const string HttpHeaderTrailer = "Trailer"
const string HttpHeaderTransferEncoding = "Transfer-Encoding"
const string HttpHeaderUpgrade = "Upgrade"
const string HttpHeaderUserAgent = "User-Agent"
const string HttpHeaderVary = "Vary"
const string HttpHeaderVia = "Via"
const string HttpHeaderWarning = "Warning"
const string HttpHeaderWWWAuthenticate = "WWW-Authenticate"

Static Public Attributes

static readonly float Version = 1.0F
 Version control for REST implementation. This refers to the overall infrastructure represented by the following classes RequestData RequestInventoryPlugin Rest It does no describe implementation classes such as RestInventoryServices, which may morph much more often. Such classes ARE dependent upon this however and should check it in their Initialize method.
static readonly char C_SPACE = ' '
static readonly char C_SLASH = '/'
static readonly char C_PATHSEP = '/'
static readonly char C_COLON = ':'
static readonly char C_PLUS = '+'
static readonly char C_PERIOD = '.'
static readonly char C_COMMA = ','
static readonly char C_DQUOTE = '"'
static readonly string CS_SPACE = " "
static readonly string CS_SLASH = "/"
static readonly string CS_PATHSEP = "/"
static readonly string CS_COLON = ":"
static readonly string CS_PLUS = "+"
static readonly string CS_PERIOD = "."
static readonly string CS_COMMA = ","
static readonly string CS_DQUOTE = "\""
static readonly char[] CA_SPACE = { C_SPACE }
static readonly char[] CA_SLASH = { C_SLASH }
static readonly char[] CA_PATHSEP = { C_PATHSEP }
static readonly char[] CA_COLON = { C_COLON }
static readonly char[] CA_PERIOD = { C_PERIOD }
static readonly char[] CA_PLUS = { C_PLUS }
static readonly char[] CA_COMMA = { C_COMMA }
static readonly char[] CA_DQUOTE = { C_DQUOTE }
static readonly int[] HttpStatusCodeArray
static readonly string[] HttpStatusDescArray

Member Function Documentation

static string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::StringToBase64 ( string  str  )  [inline, static]

Utility routines.

static string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::Base64ToString ( string  str  )  [inline, static]

static int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::Hex2Int ( string  hex  )  [inline, static]

static string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::NonceGenerator (  )  [inline, static]

static void OpenSim::ApplicationPlugins::Rest::Inventory::Rest::Dump ( byte[]  data  )  [inline, static]


Member Data Documentation

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::AS_BASIC = "Basic"

Supported authentication schemes.

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::AS_DIGEST = "Digest"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::Digest_MD5 = "MD5"

Supported Digest algorithms.

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::Digest_MD5Sess = "MD5-sess"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::Qop_Auth = "auth"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::Qop_Int = "auth-int"

readonly float OpenSim::ApplicationPlugins::Rest::Inventory::Rest::Version = 1.0F [static]

Version control for REST implementation. This refers to the overall infrastructure represented by the following classes RequestData RequestInventoryPlugin Rest It does no describe implementation classes such as RestInventoryServices, which may morph much more often. Such classes ARE dependent upon this however and should check it in their Initialize method.

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::Name = "REST 1.0"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::GET = "get"

Currently defined HTTP methods. Only GET and HEAD are required to be supported by all servers. See Respond to see how these are handled.

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HEAD = "head"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::POST = "post"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::PUT = "put"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::DELETE = "delete"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::OPTIONS = "options"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::TRACE = "trace"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::CONNECT = "connect"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::UrlPathSeparator = "/"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::UrlMethodSeparator = ":"

const bool OpenSim::ApplicationPlugins::Rest::Inventory::Rest::PERMANENT = false

const bool OpenSim::ApplicationPlugins::Rest::Inventory::Rest::TEMPORARY = true

readonly char OpenSim::ApplicationPlugins::Rest::Inventory::Rest::C_SPACE = ' ' [static]

readonly char OpenSim::ApplicationPlugins::Rest::Inventory::Rest::C_SLASH = '/' [static]

readonly char OpenSim::ApplicationPlugins::Rest::Inventory::Rest::C_PATHSEP = '/' [static]

readonly char OpenSim::ApplicationPlugins::Rest::Inventory::Rest::C_COLON = ':' [static]

readonly char OpenSim::ApplicationPlugins::Rest::Inventory::Rest::C_PLUS = '+' [static]

readonly char OpenSim::ApplicationPlugins::Rest::Inventory::Rest::C_PERIOD = '.' [static]

readonly char OpenSim::ApplicationPlugins::Rest::Inventory::Rest::C_COMMA = ',' [static]

readonly char OpenSim::ApplicationPlugins::Rest::Inventory::Rest::C_DQUOTE = '"' [static]

readonly string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::CS_SPACE = " " [static]

readonly string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::CS_SLASH = "/" [static]

readonly string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::CS_PATHSEP = "/" [static]

readonly string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::CS_COLON = ":" [static]

readonly string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::CS_PLUS = "+" [static]

readonly string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::CS_PERIOD = "." [static]

readonly string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::CS_COMMA = "," [static]

readonly string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::CS_DQUOTE = "\"" [static]

readonly char [] OpenSim::ApplicationPlugins::Rest::Inventory::Rest::CA_SPACE = { C_SPACE } [static]

readonly char [] OpenSim::ApplicationPlugins::Rest::Inventory::Rest::CA_SLASH = { C_SLASH } [static]

readonly char [] OpenSim::ApplicationPlugins::Rest::Inventory::Rest::CA_PATHSEP = { C_PATHSEP } [static]

readonly char [] OpenSim::ApplicationPlugins::Rest::Inventory::Rest::CA_COLON = { C_COLON } [static]

readonly char [] OpenSim::ApplicationPlugins::Rest::Inventory::Rest::CA_PERIOD = { C_PERIOD } [static]

readonly char [] OpenSim::ApplicationPlugins::Rest::Inventory::Rest::CA_PLUS = { C_PLUS } [static]

readonly char [] OpenSim::ApplicationPlugins::Rest::Inventory::Rest::CA_COMMA = { C_COMMA } [static]

readonly char [] OpenSim::ApplicationPlugins::Rest::Inventory::Rest::CA_DQUOTE = { C_DQUOTE } [static]

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeContinue = 100

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeSwitchingProtocols = 101

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeOK = 200

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeCreated = 201

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeAccepted = 202

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeNonAuthoritative = 203

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeNoContent = 204

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeResetContent = 205

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodePartialContent = 206

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeMultipleChoices = 300

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodePermanentRedirect = 301

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeFound = 302

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeSeeOther = 303

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeNotModified = 304

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeUseProxy = 305

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeReserved306 = 306

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeTemporaryRedirect = 307

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeBadRequest = 400

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeNotAuthorized = 401

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodePaymentRequired = 402

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeForbidden = 403

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeNotFound = 404

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeMethodNotAllowed = 405

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeNotAcceptable = 406

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeProxyAuthenticate = 407

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeTimeOut = 408

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeConflict = 409

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeGone = 410

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeLengthRequired = 411

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodePreconditionFailed = 412

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeEntityTooLarge = 413

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeUriTooLarge = 414

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeUnsupportedMedia = 415

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeRangeNotSatsified = 416

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeExpectationFailed = 417

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeServerError = 500

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeNotImplemented = 501

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeBadGateway = 502

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeServiceUnavailable = 503

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeGatewayTimeout = 504

const int OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeHttpVersionError = 505

readonly int [] OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusCodeArray [static]

readonly string [] OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpStatusDescArray [static]

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpHeaderAccept = "Accept"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpHeaderAcceptCharset = "Accept-Charset"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpHeaderAcceptEncoding = "Accept-Encoding"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpHeaderAcceptLanguage = "Accept-Language"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpHeaderAcceptRanges = "Accept-Ranges"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpHeaderAge = "Age"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpHeaderAllow = "Allow"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpHeaderAuthorization = "Authorization"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpHeaderCacheControl = "Cache-Control"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpHeaderConnection = "Connection"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpHeaderContentEncoding = "Content-Encoding"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpHeaderContentLanguage = "Content-Language"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpHeaderContentLength = "Content-Length"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpHeaderContentLocation = "Content-Location"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpHeaderContentMD5 = "Content-MD5"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpHeaderContentRange = "Content-Range"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpHeaderContentType = "Content-Type"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpHeaderDate = "Date"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpHeaderETag = "ETag"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpHeaderExpect = "Expect"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpHeaderExpires = "Expires"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpHeaderFrom = "From"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpHeaderHost = "Host"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpHeaderIfMatch = "If-Match"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpHeaderIfModifiedSince = "If-Modified-Since"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpHeaderIfNoneMatch = "If-None-Match"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpHeaderIfRange = "If-Range"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpHeaderIfUnmodifiedSince = "If-Unmodified-Since"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpHeaderLastModified = "Last-Modified"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpHeaderLocation = "Location"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpHeaderMaxForwards = "Max-Forwards"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpHeaderPragma = "Pragma"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpHeaderProxyAuthenticate = "Proxy-Authenticate"

const string OpenSim::ApplicationPlugins::Rest::Inventory::Rest::HttpHeaderProxyAuthorization = "Proxy-Authorization"