2#ifndef HTTP_HTTPSTATUS_H
3#define HTTP_HTTPSTATUS_H
HTTP status code enumeration (e.g.
Definition httpstatus.h:20
static Code FromLong(long l)
convert from long
Definition httpstatus.cc:38
static Code FromString(const Util::String &str)
convert from string
Definition httpstatus.cc:17
static Util::String ToString(Code c)
convert to string
Definition httpstatus.cc:60
Code
status codes
Definition httpstatus.h:24
@ Continue
Definition httpstatus.h:25
@ ServiceUnavailable
Definition httpstatus.h:34
@ BadRequest
Definition httpstatus.h:27
@ MethodNotAllowed
Definition httpstatus.h:30
@ NotAcceptable
Definition httpstatus.h:31
@ Forbidden
Definition httpstatus.h:28
@ InvalidHttpStatus
Definition httpstatus.h:36
@ InternalServerError
Definition httpstatus.h:32
@ NotImplemented
Definition httpstatus.h:33
@ NotFound
Definition httpstatus.h:29
@ OK
Definition httpstatus.h:26
static Util::String ToHumanReadableString(Code c)
convert code to human readable string
Definition httpstatus.cc:82
This file was generated with Nebula Trifid's idlc compiler tool.
Definition defaulthttprequesthandler.cc:15
Nebula's universal string class.
Definition string.h:50