| [FIPhoboServerException](#fiphoboserver-FIPhoboServerException-FIPhoboServerException-1) | constructor for a message with information on the exception |
| [what](#fiphoboserver-FIPhoboServerException-what) | get information on this exception |
| [get_inner_error](#fiphoboserver-FIPhoboServerException-get_inner_error) | return the inner error value that caused this exception |
...
...
@@ -107,6 +108,30 @@ get information on this exception
#### Qualifiers:
* const
* inline
* virtual
[Go to Top](#fiphoboserver-FIPhoboServerException)
### <a name='fiphoboserver-FIPhoboServerException-get_inner_error' /> public int fiphoboserver::FIPhoboServerException::get_inner_error () const noexcept
return the inner error value that caused this exception
| [HandlerFactory](./HandlerFactory.md) | factory to create the handlers for incoming HTTP requests |
| [IOException](./IOException.md) | exceptions specifically for errors in I/O |
| [PutRequestHandler](./PutRequestHandler.md) | proxygen class implementation for handling PUT requests |
| [S3_header](./S3_header.md) | class to extract the S3 specific information from proxygens HTTPMessage headers |
| [UnsupportedRequestHandler](./UnsupportedRequestHandler.md) | proxygen class implementation for handling all requests that we don't support |
## Namespaces
| Name | Description |
| ---- | ---- |
| [s3_utilities](./s3_utilities/index.md) | namespace for S3 specific utilities |
| [storage](./storage/index.md) | namespace for storage classes that belong to / inherit from from [fiphoboserver::storage::Storage][fiphoboserver-storage-Storage] |
| [stream](./stream/index.md) | namespace for stream classes that belong to / inherit from from [fiphoboserver::stream::Stream][fiphoboserver-stream-Stream] |
# <a name='fiphoboserver-S3_header' /> public fiphoboserver::S3_header
# <a name='fiphoboserver-s3_utilities-S3_header' /> public fiphoboserver::s3_utilities::S3_header
class to extract the S3 specific information from proxygens HTTPMessage headers
...
...
@@ -8,18 +8,19 @@ class to extract the S3 specific information from proxygens HTTPMessage headers
## Public Functions
| Name | Description |
| ---- | ---- |
| [set_headers](#fiphoboserver-S3_header-set_headers) | sets the internal header instance to the given header object |
| [get_bucket](#fiphoboserver-S3_header-get_bucket) | extracts the name of the S3 bucket requested in the HTTP message |
| [get_key_without_bucket](#fiphoboserver-S3_header-get_key_without_bucket) | extracts the name of the key id requested in the HTTP message |
| [get_key](#fiphoboserver-S3_header-get_key) | extracts the name of the key id requested in the HTTP message |
| [is_create_bucket_request](#fiphoboserver-S3_header-is_create_bucket_request) | checks if the message we got is one for just creating a bucket |
| [get_body_length](#fiphoboserver-S3_header-get_body_length) | gets the total length of all body chunks that is expected |
| [get_meta_data](#fiphoboserver-S3_header-get_meta_data) | gets the S3 metadata stored in the HTTP headers |
| [set_headers](#fiphoboserver-s3_utilities-S3_header-set_headers) | sets the internal header instance to the given header object |
| [get_bucket](#fiphoboserver-s3_utilities-S3_header-get_bucket) | extracts the name of the S3 bucket requested in the HTTP message |
| [get_key_without_bucket](#fiphoboserver-s3_utilities-S3_header-get_key_without_bucket) | extracts the name of the key id requested in the HTTP message |
| [get_key](#fiphoboserver-s3_utilities-S3_header-get_key) | extracts the name of the key id requested in the HTTP message |
| [is_create_bucket_request](#fiphoboserver-s3_utilities-S3_header-is_create_bucket_request) | checks if the message we got is one for just creating a bucket |
| [get_body_length](#fiphoboserver-s3_utilities-S3_header-get_body_length) | gets the total length of all body chunks that is expected |
| [get_meta_data](#fiphoboserver-s3_utilities-S3_header-get_meta_data) | gets the S3 metadata stored in the HTTP headers |
| [print_all_headers](#fiphoboserver-s3_utilities-S3_header-print_all_headers) | print all headers to std out |
| [s3_error_info](./s3_error_info.md) | struct to contain all the information needed to send a proper s3 error message |
| [S3_header](./S3_header.md) | class to extract the S3 specific information from proxygens HTTPMessage headers |
## Functions
| Name | Description |
| ---- | ---- |
| [create_s3_error](#fiphoboserver-s3_utilities-create_s3_error) | create a [s3_error_info][fiphoboserver-s3_utilities-s3_error_info] depending on the error value |
create a [s3_error_info][fiphoboserver-s3_utilities-s3_error_info] depending on the error value
#### Parameters:
| Type | Name | Description |
| ---- | ---- | ---- |
| int | return_value | the error code (errno, etc) that the function returned that raised the exception that preceded the call to this function |
| std::string | request | the request path that was being processed |
#### Returns:
| Type | Description |
| ---- | ---- |
| [s3_error_info][fiphoboserver-s3_utilities-s3_error_info] | an [s3_error_info][fiphoboserver-s3_utilities-s3_error_info] struct containing readable information on the error |
# <a name='fiphoboserver-s3_utilities-s3_error_info' /> public fiphoboserver::s3_utilities::s3_error_info
struct to contain all the information needed to send a proper s3 error message
## Public Attributes
| Name | Description |
| ---- | ---- |
| [https_error_code](#fiphoboserver-s3_utilities-s3_error_info-https_error_code) | https error code (400s or 500s) |
| [https_error_identifier](#fiphoboserver-s3_utilities-s3_error_info-https_error_identifier) | readable string for the code [https_error_code][fiphoboserver-s3_utilities-s3_error_info-https_error_code] |
| [error_xml](#fiphoboserver-s3_utilities-s3_error_info-error_xml) | XML encoded message containing more information on the error. |
## Public Attributes
### <a name='fiphoboserver-s3_utilities-s3_error_info-https_error_code' /> public fiphoboserver::s3_utilities::s3_error_info::https_error_code
https error code (400s or 500s)
[Go to Top](#fiphoboserver-s3_utilities-s3_error_info)
### <a name='fiphoboserver-s3_utilities-s3_error_info-https_error_identifier' /> public fiphoboserver::s3_utilities::s3_error_info::https_error_identifier
readable string for the code [https_error_code][fiphoboserver-s3_utilities-s3_error_info-https_error_code]
[Go to Top](#fiphoboserver-s3_utilities-s3_error_info)
### <a name='fiphoboserver-s3_utilities-s3_error_info-error_xml' /> public fiphoboserver::s3_utilities::s3_error_info::error_xml
XML encoded message containing more information on the error.
[Go to Top](#fiphoboserver-s3_utilities-s3_error_info)