null REST validator; no schema is used but default serialization and deserialization is performed
More...
|
|
| constructor () |
| | Creates the object without a logger.
|
| |
|
| constructor (Logger::LoggerInterface logger) |
| | Creates the object with the given logger.
|
| |
| bool | managesUriPath () |
| | returns True if the provider manages the URI path
|
| |
|
| 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
|
| |
| DataProvider::AbstractDataProvider | getDataProvider (HTTPClient rest) |
| | returns a data provider object for this connection, if supported by any REST schema validator object
|
| |
| hash< RestExampleRequestInfo > | getExampleRequest (string method, string path, *softlist< string > content_types) |
| | returns a hash of example message information for the given request
|
| |
| hash< RestExampleResponseInfo > | getExampleResponse (string method, string path, int code, *softlist< string > content_types) |
| | returns a hash of example message information for the given request
|
| |
| string | getHash () |
| | returns a unique hash for the schema that can be used to compare schemas
|
| |
| hash< string, list< string > > | getPathOperationHash () |
| | returns a hash of URI paths as keys with values as lists of supported HTTP methods
|
| |
| hash< RestQoreExampleCodeInfo > | getQoreExampleRequest (string method, string path) |
| | returns a hash of example Qore code for the given request
|
| |
| hash< RestQoreExampleCodeInfo > | getQoreExampleResponse (string method, string path, int code) |
| | returns example Qore code for the given response
|
| |
| string | getTargetUrl () |
| | returns the target URL for the schema
|
| |
| *TimeZone | getTimeZoneLocale () |
| | Returns the time zone locale used for serialization / deserialization.
|
| |
| bool | managesUriPath () |
| | returns True if the provider manages the URI path
|
| |
| 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)
|
| |
| 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
|
| |
| 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
|
| |
| 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.
|
| |
| | setBasePath (string basePath) |
| | overrides the basePath value
|
| |
| | setTimeZoneLocale (*TimeZone tz) |
| | Allows the time zone locale to be set for serialization / deserialization.
|
| |
|
| string | getBasePathImpl () |
| | returns the base path prefix for all requests in this schema
|
| |
| hash< RestExampleRequestInfo > | getExampleRequestImpl (string method, string path, *softlist< string > content_types) |
| | returns a hash of example message information for the given request
|
| |
| hash< RestExampleResponseInfo > | getExampleResponseImpl (string method, string path, int code, *softlist< string > content_types) |
| | returns a hash of example message information for the given request
|
| |
| string | getHashImpl () |
| | returns a unique hash for the schema that can be used to compare schemas
|
| |
| hash< string, list< string > > | getPathOperationHashImpl () |
| | returns a hash of URI paths as keys with values as lists of supported HTTP methods
|
| |
| hash< RestQoreExampleCodeInfo > | getQoreExampleRequestImpl (string method, string path) |
| | returns a hash of example Qore code for the given request
|
| |
| hash< RestQoreExampleCodeInfo > | getQoreExampleResponseImpl (string method, string path, int code) |
| | returns example Qore code for the given response
|
| |
| string | getTargetUrlImpl () |
| | returns the target URL for the schema
|
| |
| *TimeZone | getTimeZoneLocaleImpl () |
| | Returns the time zone locale used for serialization / deserialization.
|
| |
| 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)
|
| |
| 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
|
| |
| 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
|
| |
| 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
|
| |
| | setBasePathImpl (string basePath) |
| | overrides the basePath value
|
| |
| | setTimeZoneLocaleImpl (*TimeZone tz) |
| | Allows the time zone locale to be set for serialization / deserialization.
|
| |
| abstract string | getBasePathImpl () |
| | returns the base path prefix for all requests in this schema
|
| |
| DataProvider::AbstractDataProvider | getDataProviderImpl (HTTPClient rest) |
| | returns a data provider object for this connection, if supported by any REST schema validator object
|
| |
| abstract hash< RestExampleRequestInfo > | getExampleRequestImpl (string method, string path, *softlist< string > content_types) |
| | returns a hash of example message information for the given request
|
| |
| 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
|
| |
| abstract string | getHashImpl () |
| | returns a unique hash for the schema that can be used to compare schemas
|
| |
| abstract hash< string, list< string > > | getPathOperationHashImpl () |
| | returns a hash of URI paths as keys with values as lists of supported HTTP methods
|
| |
| abstract hash< RestQoreExampleCodeInfo > | getQoreExampleRequestImpl (string method, string path) |
| | returns a hash of example Qore code for the given request
|
| |
| abstract hash< RestQoreExampleCodeInfo > | getQoreExampleResponseImpl (string method, string path, int code) |
| | returns example Qore code for the given response
|
| |
| abstract string | getTargetUrlImpl () |
| | returns the target URL for the schema
|
| |
| abstract *TimeZone | getTimeZoneLocaleImpl () |
| | Returns the time zone locale used for serialization / deserialization.
|
| |
| 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)
|
| |
| 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
|
| |
| 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
|
| |
| 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
|
| |
| abstract | setBasePathImpl (string basePath) |
| | overrides the basePath value
|
| |
| abstract | setTimeZoneLocaleImpl (*TimeZone tz) |
| | Allows the time zone locale to be set for serialization / deserialization.
|
| |
null REST validator; no schema is used but default serialization and deserialization is performed