Package DE_EPAGES::EPagesJ::API::Object::RestClient
Base Webservice class for index / search and suggest webservice clients.
Functions
create
Webservice client factory method
Syntax |
DE_EPAGES::EPagesJ::API::Object::RestClient->create( $Object, $hArgs ); |
Input |
|
Return |
|
decodeResponse
Decodes the response. By default this is decode_json($Content). An alternative behaviour can be set by passing ResponseDecoderSub in in the constructor.
Syntax |
my $DecodedContent = $Client->decodeResponse( $Content ); |
Input |
|
Return |
|
encodeRequest
encodes the request. By default this is encode_json($Content). An alternative behaviour can be set by passing RequestEncoderSub in in the constructor.
Syntax |
my $EncodedContent = $Client->encodeRequest( $Content ); |
Input |
|
Return |
|
new
Webservice client constructor
Syntax |
DE_EPAGES::EPagesJ::API::Object::RestClient->new( %args ); |
Input |
|
Return |
|