Ark Server API (ASE) - Wiki
Loading...
Searching...
No Matches
Poco::Net::HTTPResponse Class Reference

#include <HTTPResponse.h>

+ Inheritance diagram for Poco::Net::HTTPResponse:
+ Collaboration diagram for Poco::Net::HTTPResponse:

Public Types

enum  HTTPStatus {
  HTTP_CONTINUE = 100 , HTTP_SWITCHING_PROTOCOLS = 101 , HTTP_PROCESSING = 102 , HTTP_OK = 200 ,
  HTTP_CREATED = 201 , HTTP_ACCEPTED = 202 , HTTP_NONAUTHORITATIVE = 203 , HTTP_NO_CONTENT = 204 ,
  HTTP_RESET_CONTENT = 205 , HTTP_PARTIAL_CONTENT = 206 , HTTP_MULTI_STATUS = 207 , HTTP_ALREADY_REPORTED = 208 ,
  HTTP_IM_USED = 226 , HTTP_MULTIPLE_CHOICES = 300 , HTTP_MOVED_PERMANENTLY = 301 , HTTP_FOUND = 302 ,
  HTTP_SEE_OTHER = 303 , HTTP_NOT_MODIFIED = 304 , HTTP_USE_PROXY = 305 , HTTP_USEPROXY = 305 ,
  HTTP_TEMPORARY_REDIRECT = 307 , HTTP_PERMANENT_REDIRECT = 308 , HTTP_BAD_REQUEST = 400 , HTTP_UNAUTHORIZED = 401 ,
  HTTP_PAYMENT_REQUIRED = 402 , HTTP_FORBIDDEN = 403 , HTTP_NOT_FOUND = 404 , HTTP_METHOD_NOT_ALLOWED = 405 ,
  HTTP_NOT_ACCEPTABLE = 406 , HTTP_PROXY_AUTHENTICATION_REQUIRED = 407 , HTTP_REQUEST_TIMEOUT = 408 , HTTP_CONFLICT = 409 ,
  HTTP_GONE = 410 , HTTP_LENGTH_REQUIRED = 411 , HTTP_PRECONDITION_FAILED = 412 , HTTP_REQUEST_ENTITY_TOO_LARGE = 413 ,
  HTTP_REQUESTENTITYTOOLARGE = 413 , HTTP_REQUEST_URI_TOO_LONG = 414 , HTTP_REQUESTURITOOLONG = 414 , HTTP_UNSUPPORTED_MEDIA_TYPE = 415 ,
  HTTP_UNSUPPORTEDMEDIATYPE = 415 , HTTP_REQUESTED_RANGE_NOT_SATISFIABLE = 416 , HTTP_EXPECTATION_FAILED = 417 , HTTP_IM_A_TEAPOT = 418 ,
  HTTP_ENCHANCE_YOUR_CALM = 420 , HTTP_MISDIRECTED_REQUEST = 421 , HTTP_UNPROCESSABLE_ENTITY = 422 , HTTP_LOCKED = 423 ,
  HTTP_FAILED_DEPENDENCY = 424 , HTTP_UPGRADE_REQUIRED = 426 , HTTP_PRECONDITION_REQUIRED = 428 , HTTP_TOO_MANY_REQUESTS = 429 ,
  HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE = 431 , HTTP_UNAVAILABLE_FOR_LEGAL_REASONS = 451 , HTTP_INTERNAL_SERVER_ERROR = 500 , HTTP_NOT_IMPLEMENTED = 501 ,
  HTTP_BAD_GATEWAY = 502 , HTTP_SERVICE_UNAVAILABLE = 503 , HTTP_GATEWAY_TIMEOUT = 504 , HTTP_VERSION_NOT_SUPPORTED = 505 ,
  HTTP_VARIANT_ALSO_NEGOTIATES = 506 , HTTP_INSUFFICIENT_STORAGE = 507 , HTTP_LOOP_DETECTED = 508 , HTTP_NOT_EXTENDED = 510 ,
  HTTP_NETWORK_AUTHENTICATION_REQUIRED = 511
}
 
- Public Types inherited from Poco::Net::NameValueCollection
using HeaderMap = Poco::ListMap<std::string, std::string>
 
using Iterator = HeaderMap::Iterator
 
using ConstIterator = HeaderMap::ConstIterator
 

Public Member Functions

 HTTPResponse ()
 
 HTTPResponse (HTTPStatus status, const std::string &reason)
 Creates the HTTPResponse with OK status.
 
 HTTPResponse (const std::string &version, HTTPStatus status, const std::string &reason)
 
 HTTPResponse (HTTPStatus status)
 
 HTTPResponse (const std::string &version, HTTPStatus status)
 
 HTTPResponse (const HTTPResponse &other)
 
virtual ~HTTPResponse ()
 Creates the HTTPResponse by copying another one.
 
HTTPResponseoperator= (const HTTPResponse &other)
 Destroys the HTTPResponse.
 
void setStatus (HTTPStatus status)
 Assignment operator.
 
HTTPStatus getStatus () const
 
void setStatus (const std::string &status)
 Returns the HTTP status code.
 
void setReason (const std::string &reason)
 
const std::string & getReason () const
 Sets the HTTP reason phrase.
 
void setStatusAndReason (HTTPStatus status, const std::string &reason)
 Returns the HTTP reason phrase.
 
void setStatusAndReason (HTTPStatus status)
 Sets the HTTP status code and reason phrase.
 
void setDate (const Poco::Timestamp &dateTime)
 
Poco::Timestamp getDate () const
 Sets the Date header to the given date/time value.
 
void addCookie (const HTTPCookie &cookie)
 Returns the value of the Date header.
 
void getCookies (std::vector< HTTPCookie > &cookies) const
 
void write (std::ostream &ostr) const
 
void read (std::istream &istr)
 
- Public Member Functions inherited from Poco::Net::HTTPMessage
void setVersion (const std::string &version)
 
const std::string & getVersion () const
 Sets the HTTP version for this message.
 
void setContentLength (std::streamsize length)
 Returns the HTTP version for this message.
 
std::streamsize getContentLength () const
 
bool hasContentLength () const
 
void setTransferEncoding (const std::string &transferEncoding)
 Returns true iff a Content-Length header is present.
 
const std::string & getTransferEncoding () const
 
void setChunkedTransferEncoding (bool flag)
 
bool getChunkedTransferEncoding () const
 
void setContentType (const std::string &mediaType)
 
void setContentType (const MediaType &mediaType)
 
const std::string & getContentType () const
 Sets the content type for this message.
 
void setKeepAlive (bool keepAlive)
 
bool getKeepAlive () const
 
- Public Member Functions inherited from Poco::Net::MessageHeader
 MessageHeader ()
 
 MessageHeader (const MessageHeader &messageHeader)
 Creates the MessageHeader.
 
virtual ~MessageHeader ()
 
MessageHeaderoperator= (const MessageHeader &messageHeader)
 Destroys the MessageHeader.
 
int getFieldLimit () const
 
void setFieldLimit (int limit)
 
bool hasToken (const std::string &fieldName, const std::string &token) const
 
- Public Member Functions inherited from Poco::Net::NameValueCollection
 NameValueCollection ()
 
 NameValueCollection (const NameValueCollection &nvc)
 Creates an empty NameValueCollection.
 
 NameValueCollection (NameValueCollection &&nvc) noexcept
 Creates a NameValueCollection by copying another one.
 
virtual ~NameValueCollection ()
 Creates a NameValueCollection by moving another one.
 
NameValueCollectionoperator= (const NameValueCollection &nvc)
 Destroys the NameValueCollection.
 
NameValueCollectionoperator= (NameValueCollection &&nvc) noexcept
 Assigns the name-value pairs of another NameValueCollection to this one.
 
void swap (NameValueCollection &nvc)
 Moves the name-value pairs of another NameValueCollection to this one.
 
const std::string & operator[] (const std::string &name) const
 Swaps the NameValueCollection with another one.
 
void set (const std::string &name, const std::string &value)
 
void add (const std::string &name, const std::string &value)
 Sets the value of the (first) name-value pair with the given name.
 
const std::string & get (const std::string &name) const
 Adds a new name-value pair with the given name and value.
 
const std::string & get (const std::string &name, const std::string &defaultValue) const
 
bool has (const std::string &name) const
 
ConstIterator find (const std::string &name) const
 
ConstIterator begin () const
 
ConstIterator end () const
 
bool empty () const
 
std::size_t size () const
 Returns true iff the header does not have any content.
 
void erase (const std::string &name)
 
void clear ()
 Removes all name-value pairs with the given name.
 

Static Public Member Functions

static const std::string & getReasonForStatus (HTTPStatus status)
 
- Static Public Member Functions inherited from Poco::Net::MessageHeader
static void splitElements (const std::string &s, std::vector< std::string > &elements, bool ignoreEmpty=true)
 
static void splitParameters (const std::string &s, std::string &value, NameValueCollection &parameters)
 
static void splitParameters (const std::string::const_iterator &begin, const std::string::const_iterator &end, NameValueCollection &parameters)
 
static void quote (const std::string &value, std::string &result, bool allowSpace=false)
 
static void decodeRFC2047 (const std::string &ins, std::string &outs, const std::string &charset="UTF-8")
 
static std::string decodeWord (const std::string &text, const std::string &charset="UTF-8")
 

Static Public Attributes

static const std::string HTTP_REASON_CONTINUE
 
static const std::string HTTP_REASON_SWITCHING_PROTOCOLS
 
static const std::string HTTP_REASON_PROCESSING
 
static const std::string HTTP_REASON_OK
 
static const std::string HTTP_REASON_CREATED
 
static const std::string HTTP_REASON_ACCEPTED
 
static const std::string HTTP_REASON_NONAUTHORITATIVE
 
static const std::string HTTP_REASON_NO_CONTENT
 
static const std::string HTTP_REASON_RESET_CONTENT
 
static const std::string HTTP_REASON_PARTIAL_CONTENT
 
static const std::string HTTP_REASON_MULTI_STATUS
 
static const std::string HTTP_REASON_ALREADY_REPORTED
 
static const std::string HTTP_REASON_IM_USED
 
static const std::string HTTP_REASON_MULTIPLE_CHOICES
 
static const std::string HTTP_REASON_MOVED_PERMANENTLY
 
static const std::string HTTP_REASON_FOUND
 
static const std::string HTTP_REASON_SEE_OTHER
 
static const std::string HTTP_REASON_NOT_MODIFIED
 
static const std::string HTTP_REASON_USE_PROXY
 
static const std::string HTTP_REASON_TEMPORARY_REDIRECT
 
static const std::string HTTP_REASON_PERMANENT_REDIRECT
 
static const std::string HTTP_REASON_BAD_REQUEST
 
static const std::string HTTP_REASON_UNAUTHORIZED
 
static const std::string HTTP_REASON_PAYMENT_REQUIRED
 
static const std::string HTTP_REASON_FORBIDDEN
 
static const std::string HTTP_REASON_NOT_FOUND
 
static const std::string HTTP_REASON_METHOD_NOT_ALLOWED
 
static const std::string HTTP_REASON_NOT_ACCEPTABLE
 
static const std::string HTTP_REASON_PROXY_AUTHENTICATION_REQUIRED
 
static const std::string HTTP_REASON_REQUEST_TIMEOUT
 
static const std::string HTTP_REASON_CONFLICT
 
static const std::string HTTP_REASON_GONE
 
static const std::string HTTP_REASON_LENGTH_REQUIRED
 
static const std::string HTTP_REASON_PRECONDITION_FAILED
 
static const std::string HTTP_REASON_REQUEST_ENTITY_TOO_LARGE
 
static const std::string HTTP_REASON_REQUEST_URI_TOO_LONG
 
static const std::string HTTP_REASON_UNSUPPORTED_MEDIA_TYPE
 
static const std::string HTTP_REASON_REQUESTED_RANGE_NOT_SATISFIABLE
 
static const std::string HTTP_REASON_EXPECTATION_FAILED
 
static const std::string HTTP_REASON_IM_A_TEAPOT
 
static const std::string HTTP_REASON_ENCHANCE_YOUR_CALM
 
static const std::string HTTP_REASON_MISDIRECTED_REQUEST
 
static const std::string HTTP_REASON_UNPROCESSABLE_ENTITY
 
static const std::string HTTP_REASON_LOCKED
 
static const std::string HTTP_REASON_FAILED_DEPENDENCY
 
static const std::string HTTP_REASON_UPGRADE_REQUIRED
 
static const std::string HTTP_REASON_PRECONDITION_REQUIRED
 
static const std::string HTTP_REASON_TOO_MANY_REQUESTS
 
static const std::string HTTP_REASON_REQUEST_HEADER_FIELDS_TOO_LARGE
 
static const std::string HTTP_REASON_UNAVAILABLE_FOR_LEGAL_REASONS
 
static const std::string HTTP_REASON_INTERNAL_SERVER_ERROR
 
static const std::string HTTP_REASON_NOT_IMPLEMENTED
 
static const std::string HTTP_REASON_BAD_GATEWAY
 
static const std::string HTTP_REASON_SERVICE_UNAVAILABLE
 
static const std::string HTTP_REASON_GATEWAY_TIMEOUT
 
static const std::string HTTP_REASON_VERSION_NOT_SUPPORTED
 
static const std::string HTTP_REASON_VARIANT_ALSO_NEGOTIATES
 
static const std::string HTTP_REASON_INSUFFICIENT_STORAGE
 
static const std::string HTTP_REASON_LOOP_DETECTED
 
static const std::string HTTP_REASON_NOT_EXTENDED
 
static const std::string HTTP_REASON_NETWORK_AUTHENTICATION_REQUIRED
 
static const std::string HTTP_REASON_UNKNOWN
 
static const std::string DATE
 
static const std::string SET_COOKIE
 
- Static Public Attributes inherited from Poco::Net::HTTPMessage
static const std::string HTTP_1_0
 
static const std::string HTTP_1_1
 
static const std::string IDENTITY_TRANSFER_ENCODING
 
static const std::string CHUNKED_TRANSFER_ENCODING
 
static const int UNKNOWN_CONTENT_LENGTH
 
static const std::string UNKNOWN_CONTENT_TYPE
 
static const std::string CONTENT_LENGTH
 
static const std::string CONTENT_TYPE
 
static const std::string TRANSFER_ENCODING
 
static const std::string CONNECTION
 
static const std::string PROXY_CONNECTION
 
static const std::string CONNECTION_KEEP_ALIVE
 
static const std::string CONNECTION_CLOSE
 
static const std::string EMPTY
 

Private Types

enum  Limits { MAX_VERSION_LENGTH = 8 , MAX_STATUS_LENGTH = 3 , MAX_REASON_LENGTH = 512 }
 

Private Attributes

HTTPStatus _status
 
std::string _reason
 

Additional Inherited Members

- Protected Member Functions inherited from Poco::Net::HTTPMessage
 HTTPMessage ()
 
 HTTPMessage (const std::string &version)
 Creates the HTTPMessage with version HTTP/1.0.
 
 HTTPMessage (const HTTPMessage &other)
 
HTTPMessageoperator= (const HTTPMessage &other)
 Copy constructor.
 
virtual ~HTTPMessage ()
 Assignment operator.
 

Detailed Description

This class encapsulates an HTTP response message.

In addition to the properties common to all HTTP messages, a HTTP response has status code and a reason phrase.

Definition at line 35 of file HTTPResponse.h.

Member Enumeration Documentation

◆ HTTPStatus

Enumerator
HTTP_CONTINUE 
HTTP_SWITCHING_PROTOCOLS 
HTTP_PROCESSING 
HTTP_OK 
HTTP_CREATED 
HTTP_ACCEPTED 
HTTP_NONAUTHORITATIVE 
HTTP_NO_CONTENT 
HTTP_RESET_CONTENT 
HTTP_PARTIAL_CONTENT 
HTTP_MULTI_STATUS 
HTTP_ALREADY_REPORTED 
HTTP_IM_USED 
HTTP_MULTIPLE_CHOICES 
HTTP_MOVED_PERMANENTLY 
HTTP_FOUND 
HTTP_SEE_OTHER 
HTTP_NOT_MODIFIED 
HTTP_USE_PROXY 
HTTP_USEPROXY 
HTTP_TEMPORARY_REDIRECT 
Deprecated
HTTP_PERMANENT_REDIRECT 
HTTP_BAD_REQUEST 
HTTP_UNAUTHORIZED 
HTTP_PAYMENT_REQUIRED 
HTTP_FORBIDDEN 
HTTP_NOT_FOUND 
HTTP_METHOD_NOT_ALLOWED 
HTTP_NOT_ACCEPTABLE 
HTTP_PROXY_AUTHENTICATION_REQUIRED 
HTTP_REQUEST_TIMEOUT 
HTTP_CONFLICT 
HTTP_GONE 
HTTP_LENGTH_REQUIRED 
HTTP_PRECONDITION_FAILED 
HTTP_REQUEST_ENTITY_TOO_LARGE 
HTTP_REQUESTENTITYTOOLARGE 
HTTP_REQUEST_URI_TOO_LONG 
Deprecated
HTTP_REQUESTURITOOLONG 
HTTP_UNSUPPORTED_MEDIA_TYPE 
Deprecated
HTTP_UNSUPPORTEDMEDIATYPE 
HTTP_REQUESTED_RANGE_NOT_SATISFIABLE 
Deprecated
HTTP_EXPECTATION_FAILED 
HTTP_IM_A_TEAPOT 
HTTP_ENCHANCE_YOUR_CALM 
HTTP_MISDIRECTED_REQUEST 
HTTP_UNPROCESSABLE_ENTITY 
HTTP_LOCKED 
HTTP_FAILED_DEPENDENCY 
HTTP_UPGRADE_REQUIRED 
HTTP_PRECONDITION_REQUIRED 
HTTP_TOO_MANY_REQUESTS 
HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE 
HTTP_UNAVAILABLE_FOR_LEGAL_REASONS 
HTTP_INTERNAL_SERVER_ERROR 
HTTP_NOT_IMPLEMENTED 
HTTP_BAD_GATEWAY 
HTTP_SERVICE_UNAVAILABLE 
HTTP_GATEWAY_TIMEOUT 
HTTP_VERSION_NOT_SUPPORTED 
HTTP_VARIANT_ALSO_NEGOTIATES 
HTTP_INSUFFICIENT_STORAGE 
HTTP_LOOP_DETECTED 
HTTP_NOT_EXTENDED 
HTTP_NETWORK_AUTHENTICATION_REQUIRED 

Definition at line 44 of file HTTPResponse.h.

◆ Limits

Enumerator
MAX_VERSION_LENGTH 
MAX_STATUS_LENGTH 
MAX_REASON_LENGTH 

Definition at line 268 of file HTTPResponse.h.

Constructor & Destructor Documentation

◆ HTTPResponse() [1/6]

Poco::Net::HTTPResponse::HTTPResponse ( )

◆ HTTPResponse() [2/6]

Poco::Net::HTTPResponse::HTTPResponse ( HTTPStatus status,
const std::string & reason )

Creates the HTTPResponse with OK status.

◆ HTTPResponse() [3/6]

Poco::Net::HTTPResponse::HTTPResponse ( const std::string & version,
HTTPStatus status,
const std::string & reason )

Creates the HTTPResponse with the given status and reason phrase.

◆ HTTPResponse() [4/6]

Poco::Net::HTTPResponse::HTTPResponse ( HTTPStatus status)
explicit

Creates the HTTPResponse with the given version, status and reason phrase.

+ Here is the caller graph for this function:

◆ HTTPResponse() [5/6]

Poco::Net::HTTPResponse::HTTPResponse ( const std::string & version,
HTTPStatus status )

Creates the HTTPResponse with the given status and an appropriate reason phrase.

◆ HTTPResponse() [6/6]

Poco::Net::HTTPResponse::HTTPResponse ( const HTTPResponse & other)

Creates the HTTPResponse with the given version, status and an appropriate reason phrase.

◆ ~HTTPResponse()

virtual Poco::Net::HTTPResponse::~HTTPResponse ( )
virtual

Creates the HTTPResponse by copying another one.

Member Function Documentation

◆ addCookie()

void Poco::Net::HTTPResponse::addCookie ( const HTTPCookie & cookie)

Returns the value of the Date header.

◆ getCookies()

void Poco::Net::HTTPResponse::getCookies ( std::vector< HTTPCookie > & cookies) const

Adds the cookie to the response by adding a Set-Cookie header.

◆ getDate()

Poco::Timestamp Poco::Net::HTTPResponse::getDate ( ) const

Sets the Date header to the given date/time value.

◆ getReason()

const std::string & Poco::Net::HTTPResponse::getReason ( ) const
inline

Sets the HTTP reason phrase.

Definition at line 289 of file HTTPResponse.h.

+ Here is the caller graph for this function:

◆ getReasonForStatus()

static const std::string & Poco::Net::HTTPResponse::getReasonForStatus ( HTTPStatus status)
static

Reads the HTTP response from the given input stream.

100 Continue responses are ignored.

◆ getStatus()

HTTPResponse::HTTPStatus Poco::Net::HTTPResponse::getStatus ( ) const
inline

Sets the HTTP status code.

Does not change the reason phrase.

Definition at line 283 of file HTTPResponse.h.

+ Here is the caller graph for this function:

◆ operator=()

HTTPResponse & Poco::Net::HTTPResponse::operator= ( const HTTPResponse & other)

Destroys the HTTPResponse.

◆ read()

void Poco::Net::HTTPResponse::read ( std::istream & istr)
virtual

Writes the HTTP response to the given output stream.

Reimplemented from Poco::Net::MessageHeader.

◆ setDate()

void Poco::Net::HTTPResponse::setDate ( const Poco::Timestamp & dateTime)

Sets the HTTP status code and reason phrase.

The reason phrase is set according to the status code.

◆ setReason()

void Poco::Net::HTTPResponse::setReason ( const std::string & reason)

Sets the HTTP status code.

The string must contain a valid HTTP numerical status code.

◆ setStatus() [1/2]

void Poco::Net::HTTPResponse::setStatus ( const std::string & status)

Returns the HTTP status code.

◆ setStatus() [2/2]

void Poco::Net::HTTPResponse::setStatus ( HTTPStatus status)

Assignment operator.

◆ setStatusAndReason() [1/2]

void Poco::Net::HTTPResponse::setStatusAndReason ( HTTPStatus status)

Sets the HTTP status code and reason phrase.

◆ setStatusAndReason() [2/2]

void Poco::Net::HTTPResponse::setStatusAndReason ( HTTPStatus status,
const std::string & reason )

Returns the HTTP reason phrase.

◆ write()

void Poco::Net::HTTPResponse::write ( std::ostream & ostr) const
virtual

Returns a vector with all the cookies set in the response header.

May throw an exception in case of a malformed Set-Cookie header.

Reimplemented from Poco::Net::MessageHeader.

Member Data Documentation

◆ _reason

std::string Poco::Net::HTTPResponse::_reason
private

Definition at line 276 of file HTTPResponse.h.

◆ _status

HTTPStatus Poco::Net::HTTPResponse::_status
private

Definition at line 275 of file HTTPResponse.h.

◆ DATE

const std::string Poco::Net::HTTPResponse::DATE
static

Definition at line 264 of file HTTPResponse.h.

◆ HTTP_REASON_ACCEPTED

const std::string Poco::Net::HTTPResponse::HTTP_REASON_ACCEPTED
static

Definition at line 206 of file HTTPResponse.h.

◆ HTTP_REASON_ALREADY_REPORTED

const std::string Poco::Net::HTTPResponse::HTTP_REASON_ALREADY_REPORTED
static

Definition at line 212 of file HTTPResponse.h.

◆ HTTP_REASON_BAD_GATEWAY

const std::string Poco::Net::HTTPResponse::HTTP_REASON_BAD_GATEWAY
static

Definition at line 253 of file HTTPResponse.h.

◆ HTTP_REASON_BAD_REQUEST

const std::string Poco::Net::HTTPResponse::HTTP_REASON_BAD_REQUEST
static

Definition at line 222 of file HTTPResponse.h.

◆ HTTP_REASON_CONFLICT

const std::string Poco::Net::HTTPResponse::HTTP_REASON_CONFLICT
static

Definition at line 231 of file HTTPResponse.h.

◆ HTTP_REASON_CONTINUE

const std::string Poco::Net::HTTPResponse::HTTP_REASON_CONTINUE
static

Returns an appropriate reason phrase for the given status code.

Definition at line 201 of file HTTPResponse.h.

◆ HTTP_REASON_CREATED

const std::string Poco::Net::HTTPResponse::HTTP_REASON_CREATED
static

Definition at line 205 of file HTTPResponse.h.

◆ HTTP_REASON_ENCHANCE_YOUR_CALM

const std::string Poco::Net::HTTPResponse::HTTP_REASON_ENCHANCE_YOUR_CALM
static

Definition at line 241 of file HTTPResponse.h.

◆ HTTP_REASON_EXPECTATION_FAILED

const std::string Poco::Net::HTTPResponse::HTTP_REASON_EXPECTATION_FAILED
static

Definition at line 239 of file HTTPResponse.h.

◆ HTTP_REASON_FAILED_DEPENDENCY

const std::string Poco::Net::HTTPResponse::HTTP_REASON_FAILED_DEPENDENCY
static

Definition at line 245 of file HTTPResponse.h.

◆ HTTP_REASON_FORBIDDEN

const std::string Poco::Net::HTTPResponse::HTTP_REASON_FORBIDDEN
static

Definition at line 225 of file HTTPResponse.h.

◆ HTTP_REASON_FOUND

const std::string Poco::Net::HTTPResponse::HTTP_REASON_FOUND
static

Definition at line 216 of file HTTPResponse.h.

◆ HTTP_REASON_GATEWAY_TIMEOUT

const std::string Poco::Net::HTTPResponse::HTTP_REASON_GATEWAY_TIMEOUT
static

Definition at line 255 of file HTTPResponse.h.

◆ HTTP_REASON_GONE

const std::string Poco::Net::HTTPResponse::HTTP_REASON_GONE
static

Definition at line 232 of file HTTPResponse.h.

◆ HTTP_REASON_IM_A_TEAPOT

const std::string Poco::Net::HTTPResponse::HTTP_REASON_IM_A_TEAPOT
static

Definition at line 240 of file HTTPResponse.h.

◆ HTTP_REASON_IM_USED

const std::string Poco::Net::HTTPResponse::HTTP_REASON_IM_USED
static

Definition at line 213 of file HTTPResponse.h.

◆ HTTP_REASON_INSUFFICIENT_STORAGE

const std::string Poco::Net::HTTPResponse::HTTP_REASON_INSUFFICIENT_STORAGE
static

Definition at line 258 of file HTTPResponse.h.

◆ HTTP_REASON_INTERNAL_SERVER_ERROR

const std::string Poco::Net::HTTPResponse::HTTP_REASON_INTERNAL_SERVER_ERROR
static

Definition at line 251 of file HTTPResponse.h.

◆ HTTP_REASON_LENGTH_REQUIRED

const std::string Poco::Net::HTTPResponse::HTTP_REASON_LENGTH_REQUIRED
static

Definition at line 233 of file HTTPResponse.h.

◆ HTTP_REASON_LOCKED

const std::string Poco::Net::HTTPResponse::HTTP_REASON_LOCKED
static

Definition at line 244 of file HTTPResponse.h.

◆ HTTP_REASON_LOOP_DETECTED

const std::string Poco::Net::HTTPResponse::HTTP_REASON_LOOP_DETECTED
static

Definition at line 259 of file HTTPResponse.h.

◆ HTTP_REASON_METHOD_NOT_ALLOWED

const std::string Poco::Net::HTTPResponse::HTTP_REASON_METHOD_NOT_ALLOWED
static

Definition at line 227 of file HTTPResponse.h.

◆ HTTP_REASON_MISDIRECTED_REQUEST

const std::string Poco::Net::HTTPResponse::HTTP_REASON_MISDIRECTED_REQUEST
static

Definition at line 242 of file HTTPResponse.h.

◆ HTTP_REASON_MOVED_PERMANENTLY

const std::string Poco::Net::HTTPResponse::HTTP_REASON_MOVED_PERMANENTLY
static

Definition at line 215 of file HTTPResponse.h.

◆ HTTP_REASON_MULTI_STATUS

const std::string Poco::Net::HTTPResponse::HTTP_REASON_MULTI_STATUS
static

Definition at line 211 of file HTTPResponse.h.

◆ HTTP_REASON_MULTIPLE_CHOICES

const std::string Poco::Net::HTTPResponse::HTTP_REASON_MULTIPLE_CHOICES
static

Definition at line 214 of file HTTPResponse.h.

◆ HTTP_REASON_NETWORK_AUTHENTICATION_REQUIRED

const std::string Poco::Net::HTTPResponse::HTTP_REASON_NETWORK_AUTHENTICATION_REQUIRED
static

Definition at line 261 of file HTTPResponse.h.

◆ HTTP_REASON_NO_CONTENT

const std::string Poco::Net::HTTPResponse::HTTP_REASON_NO_CONTENT
static

Definition at line 208 of file HTTPResponse.h.

◆ HTTP_REASON_NONAUTHORITATIVE

const std::string Poco::Net::HTTPResponse::HTTP_REASON_NONAUTHORITATIVE
static

Definition at line 207 of file HTTPResponse.h.

◆ HTTP_REASON_NOT_ACCEPTABLE

const std::string Poco::Net::HTTPResponse::HTTP_REASON_NOT_ACCEPTABLE
static

Definition at line 228 of file HTTPResponse.h.

◆ HTTP_REASON_NOT_EXTENDED

const std::string Poco::Net::HTTPResponse::HTTP_REASON_NOT_EXTENDED
static

Definition at line 260 of file HTTPResponse.h.

◆ HTTP_REASON_NOT_FOUND

const std::string Poco::Net::HTTPResponse::HTTP_REASON_NOT_FOUND
static

Definition at line 226 of file HTTPResponse.h.

◆ HTTP_REASON_NOT_IMPLEMENTED

const std::string Poco::Net::HTTPResponse::HTTP_REASON_NOT_IMPLEMENTED
static

Definition at line 252 of file HTTPResponse.h.

◆ HTTP_REASON_NOT_MODIFIED

const std::string Poco::Net::HTTPResponse::HTTP_REASON_NOT_MODIFIED
static

Definition at line 218 of file HTTPResponse.h.

◆ HTTP_REASON_OK

const std::string Poco::Net::HTTPResponse::HTTP_REASON_OK
static

Definition at line 204 of file HTTPResponse.h.

◆ HTTP_REASON_PARTIAL_CONTENT

const std::string Poco::Net::HTTPResponse::HTTP_REASON_PARTIAL_CONTENT
static

Definition at line 210 of file HTTPResponse.h.

◆ HTTP_REASON_PAYMENT_REQUIRED

const std::string Poco::Net::HTTPResponse::HTTP_REASON_PAYMENT_REQUIRED
static

Definition at line 224 of file HTTPResponse.h.

◆ HTTP_REASON_PERMANENT_REDIRECT

const std::string Poco::Net::HTTPResponse::HTTP_REASON_PERMANENT_REDIRECT
static

Definition at line 221 of file HTTPResponse.h.

◆ HTTP_REASON_PRECONDITION_FAILED

const std::string Poco::Net::HTTPResponse::HTTP_REASON_PRECONDITION_FAILED
static

Definition at line 234 of file HTTPResponse.h.

◆ HTTP_REASON_PRECONDITION_REQUIRED

const std::string Poco::Net::HTTPResponse::HTTP_REASON_PRECONDITION_REQUIRED
static

Definition at line 247 of file HTTPResponse.h.

◆ HTTP_REASON_PROCESSING

const std::string Poco::Net::HTTPResponse::HTTP_REASON_PROCESSING
static

Definition at line 203 of file HTTPResponse.h.

◆ HTTP_REASON_PROXY_AUTHENTICATION_REQUIRED

const std::string Poco::Net::HTTPResponse::HTTP_REASON_PROXY_AUTHENTICATION_REQUIRED
static

Definition at line 229 of file HTTPResponse.h.

◆ HTTP_REASON_REQUEST_ENTITY_TOO_LARGE

const std::string Poco::Net::HTTPResponse::HTTP_REASON_REQUEST_ENTITY_TOO_LARGE
static

Definition at line 235 of file HTTPResponse.h.

◆ HTTP_REASON_REQUEST_HEADER_FIELDS_TOO_LARGE

const std::string Poco::Net::HTTPResponse::HTTP_REASON_REQUEST_HEADER_FIELDS_TOO_LARGE
static

Definition at line 249 of file HTTPResponse.h.

◆ HTTP_REASON_REQUEST_TIMEOUT

const std::string Poco::Net::HTTPResponse::HTTP_REASON_REQUEST_TIMEOUT
static

Definition at line 230 of file HTTPResponse.h.

◆ HTTP_REASON_REQUEST_URI_TOO_LONG

const std::string Poco::Net::HTTPResponse::HTTP_REASON_REQUEST_URI_TOO_LONG
static

Definition at line 236 of file HTTPResponse.h.

◆ HTTP_REASON_REQUESTED_RANGE_NOT_SATISFIABLE

const std::string Poco::Net::HTTPResponse::HTTP_REASON_REQUESTED_RANGE_NOT_SATISFIABLE
static

Definition at line 238 of file HTTPResponse.h.

◆ HTTP_REASON_RESET_CONTENT

const std::string Poco::Net::HTTPResponse::HTTP_REASON_RESET_CONTENT
static

Definition at line 209 of file HTTPResponse.h.

◆ HTTP_REASON_SEE_OTHER

const std::string Poco::Net::HTTPResponse::HTTP_REASON_SEE_OTHER
static

Definition at line 217 of file HTTPResponse.h.

◆ HTTP_REASON_SERVICE_UNAVAILABLE

const std::string Poco::Net::HTTPResponse::HTTP_REASON_SERVICE_UNAVAILABLE
static

Definition at line 254 of file HTTPResponse.h.

◆ HTTP_REASON_SWITCHING_PROTOCOLS

const std::string Poco::Net::HTTPResponse::HTTP_REASON_SWITCHING_PROTOCOLS
static

Definition at line 202 of file HTTPResponse.h.

◆ HTTP_REASON_TEMPORARY_REDIRECT

const std::string Poco::Net::HTTPResponse::HTTP_REASON_TEMPORARY_REDIRECT
static

Definition at line 220 of file HTTPResponse.h.

◆ HTTP_REASON_TOO_MANY_REQUESTS

const std::string Poco::Net::HTTPResponse::HTTP_REASON_TOO_MANY_REQUESTS
static

Definition at line 248 of file HTTPResponse.h.

◆ HTTP_REASON_UNAUTHORIZED

const std::string Poco::Net::HTTPResponse::HTTP_REASON_UNAUTHORIZED
static

Definition at line 223 of file HTTPResponse.h.

◆ HTTP_REASON_UNAVAILABLE_FOR_LEGAL_REASONS

const std::string Poco::Net::HTTPResponse::HTTP_REASON_UNAVAILABLE_FOR_LEGAL_REASONS
static

Definition at line 250 of file HTTPResponse.h.

◆ HTTP_REASON_UNKNOWN

const std::string Poco::Net::HTTPResponse::HTTP_REASON_UNKNOWN
static

Definition at line 262 of file HTTPResponse.h.

◆ HTTP_REASON_UNPROCESSABLE_ENTITY

const std::string Poco::Net::HTTPResponse::HTTP_REASON_UNPROCESSABLE_ENTITY
static

Definition at line 243 of file HTTPResponse.h.

◆ HTTP_REASON_UNSUPPORTED_MEDIA_TYPE

const std::string Poco::Net::HTTPResponse::HTTP_REASON_UNSUPPORTED_MEDIA_TYPE
static

Definition at line 237 of file HTTPResponse.h.

◆ HTTP_REASON_UPGRADE_REQUIRED

const std::string Poco::Net::HTTPResponse::HTTP_REASON_UPGRADE_REQUIRED
static

Definition at line 246 of file HTTPResponse.h.

◆ HTTP_REASON_USE_PROXY

const std::string Poco::Net::HTTPResponse::HTTP_REASON_USE_PROXY
static

Definition at line 219 of file HTTPResponse.h.

◆ HTTP_REASON_VARIANT_ALSO_NEGOTIATES

const std::string Poco::Net::HTTPResponse::HTTP_REASON_VARIANT_ALSO_NEGOTIATES
static

Definition at line 257 of file HTTPResponse.h.

◆ HTTP_REASON_VERSION_NOT_SUPPORTED

const std::string Poco::Net::HTTPResponse::HTTP_REASON_VERSION_NOT_SUPPORTED
static

Definition at line 256 of file HTTPResponse.h.

◆ SET_COOKIE

const std::string Poco::Net::HTTPResponse::SET_COOKIE
static

Definition at line 265 of file HTTPResponse.h.


The documentation for this class was generated from the following file: