null REST validator; no schema is used but default serialization and deserialization is performed
More...
|
bool | managesUriPath () |
| returns True if the provider manages the URI path More...
|
|
| constructor () |
| Creates the object without a logger.
|
|
| constructor (Logger::LoggerInterface logger) |
| Creates the object with the given logger.
|
|
string | getBasePath () |
| returns the base path prefix for all requests in this schema More...
|
|
DataProvider::AbstractDataProvider | getDataProvider (HTTPClient rest) |
| returns a data provider object for this connection, if supported by any REST schema validator object More...
|
|
hash< RestExampleRequestInfo > | getExampleRequest (string method, string path, *softlist< string > content_types) |
| returns a hash of example message information for the given request More...
|
|
hash< RestExampleResponseInfo > | getExampleResponse (string method, string path, int code, *softlist< string > content_types) |
| returns a hash of example message information for the given request More...
|
|
string | getHash () |
| returns a unique hash for the schema that can be used to compare schemas More...
|
|
hash< string, list< string > > | getPathOperationHash () |
| returns a hash of URI paths as keys with values as lists of supported HTTP methods More...
|
|
hash< RestQoreExampleCodeInfo > | getQoreExampleRequest (string method, string path) |
| returns a hash of example Qore code for the given request More...
|
|
hash< RestQoreExampleCodeInfo > | getQoreExampleResponse (string method, string path, int code) |
| returns example Qore code for the given response More...
|
|
string | getTargetUrl () |
| returns the target URL for the schema More...
|
|
*TimeZone | getTimeZoneLocale () |
| Returns the time zone locale used for serialization / deserialization. More...
|
|
bool | managesUriPath () |
| returns True if the provider manages the URI path More...
|
|
hash< RestRequestServerInfo > | parseRequest (string method, string path, *data http_body, reference< hash< auto > > headers) |
| processes and parses a client request and returns the deserialized message body (if any) More...
|
|
hash< RestResponseClientInfo > | parseResponse (string method, string path, int code, *data response_body, hash< auto > hdr) |
| parses and validates the response from the server and returns a hash of the processed info More...
|
|
hash< RestRequestClientInfo > | processRequest (string method, string path, auto body, *hash< auto > headers, *softlist< string > content_types) |
| processes a client-side REST request and returns a hash that can be used to make the outgoing client-side HTTP request More...
|
|
hash< HttpResponseInfo > | processResponse (string method, string path, int code, auto response_body, *hash< auto > headers, *softlist< string > content_types) |
| Processes a REST response with a serialized message body. More...
|
|
| setBasePath (string basePath) |
| overrides the basePath value More...
|
|
| setTimeZoneLocale (*TimeZone tz) |
| Allows the time zone locale to be set for serialization / deserialization. More...
|
|
|
string | getBasePathImpl () |
| returns the base path prefix for all requests in this schema More...
|
|
hash< RestExampleRequestInfo > | getExampleRequestImpl (string method, string path, *softlist< string > content_types) |
| returns a hash of example message information for the given request More...
|
|
hash< RestExampleResponseInfo > | getExampleResponseImpl (string method, string path, int code, *softlist< string > content_types) |
| returns a hash of example message information for the given request More...
|
|
string | getHashImpl () |
| returns a unique hash for the schema that can be used to compare schemas More...
|
|
hash< string, list< string > > | getPathOperationHashImpl () |
| returns a hash of URI paths as keys with values as lists of supported HTTP methods More...
|
|
hash< RestQoreExampleCodeInfo > | getQoreExampleRequestImpl (string method, string path) |
| returns a hash of example Qore code for the given request More...
|
|
hash< RestQoreExampleCodeInfo > | getQoreExampleResponseImpl (string method, string path, int code) |
| returns example Qore code for the given response More...
|
|
string | getTargetUrlImpl () |
| returns the target URL for the schema More...
|
|
*TimeZone | getTimeZoneLocaleImpl () |
| Returns the time zone locale used for serialization / deserialization. More...
|
|
hash< RestRequestServerInfo > | parseRequestImpl (string method, string path, *data http_body, reference< hash > headers) |
| processes and parses a client request and returns the deserialized message body (if any) More...
|
|
hash< RestResponseClientInfo > | parseResponseImpl (string method, string path, int code, *data response_body, hash< auto > hdr) |
| parses and validates the response from the server and returns a hash of the processed info More...
|
|
hash< RestRequestClientInfo > | processRequestImpl (string method, string path, auto body, *hash< auto > headers, *softlist< string > content_types) |
| processes a client-side REST request and returns a hash that can be used to make the outgoing client-side HTTP request More...
|
|
hash< HttpResponseInfo > | processResponseImpl (string method, string path, int code, auto response_body, *hash< auto > headers, *softlist< string > content_types) |
| processes a REST response with a serialized message body, validates any response data against schema definitions if possible More...
|
|
| setBasePathImpl (string basePath) |
| overrides the basePath value More...
|
|
| setTimeZoneLocaleImpl (*TimeZone tz) |
| Allows the time zone locale to be set for serialization / deserialization. More...
|
|
abstract string | getBasePathImpl () |
| returns the base path prefix for all requests in this schema More...
|
|
DataProvider::AbstractDataProvider | getDataProviderImpl (HTTPClient rest) |
| returns a data provider object for this connection, if supported by any REST schema validator object More...
|
|
abstract hash< RestExampleRequestInfo > | getExampleRequestImpl (string method, string path, *softlist< string > content_types) |
| returns a hash of example message information for the given request More...
|
|
abstract hash< RestExampleResponseInfo > | getExampleResponseImpl (string method, string path, int code, *softlist< string > content_types) |
| returns a hash of example message information for the given request More...
|
|
abstract string | getHashImpl () |
| returns a unique hash for the schema that can be used to compare schemas More...
|
|
abstract hash< string, list< string > > | getPathOperationHashImpl () |
| returns a hash of URI paths as keys with values as lists of supported HTTP methods More...
|
|
abstract hash< RestQoreExampleCodeInfo > | getQoreExampleRequestImpl (string method, string path) |
| returns a hash of example Qore code for the given request More...
|
|
abstract hash< RestQoreExampleCodeInfo > | getQoreExampleResponseImpl (string method, string path, int code) |
| returns example Qore code for the given response More...
|
|
abstract string | getTargetUrlImpl () |
| returns the target URL for the schema More...
|
|
abstract *TimeZone | getTimeZoneLocaleImpl () |
| Returns the time zone locale used for serialization / deserialization. More...
|
|
abstract hash< RestRequestServerInfo > | parseRequestImpl (string method, string path, *data http_body, reference< hash > headers) |
| processes and parses a client request and returns the deserialized message body (if any) More...
|
|
abstract hash< RestResponseClientInfo > | parseResponseImpl (string method, string path, int code, *data response_body, hash< auto > hdr) |
| parses and validates the response from the server and returns a hash of the processed info More...
|
|
abstract hash< RestRequestClientInfo > | processRequestImpl (string method, string path, auto body, *hash< auto > headers, *softlist< string > content_types) |
| processes a client-side REST request and returns a hash that can be used to make the outgoing client-side HTTP request More...
|
|
abstract hash< HttpResponseInfo > | processResponseImpl (string method, string path, int code, auto response_body, *hash< auto > headers, *softlist< string > content_types) |
| processes a REST response with a serialized message body, validates any response data against schema definitions if possible More...
|
|
abstract | setBasePathImpl (string basePath) |
| overrides the basePath value More...
|
|
abstract | setTimeZoneLocaleImpl (*TimeZone tz) |
| Allows the time zone locale to be set for serialization / deserialization. More...
|
|
null REST validator; no schema is used but default serialization and deserialization is performed