The base URL of the Octoparts service you would like to hit with the instantiated client
The (HTTP) timeout that you would like this client to use. Note that sending AggregateRequest will result in using the max of this parameter and the timeout on the request (if it exists)
Extra margin of wait time for timeouts. Defaults to 50 milliseconds.
The base URL of the Octoparts service you would like to hit with the instantiated client
The base URL of the Octoparts service you would like to hit with the instantiated client
Builds an com.m3.octoparts.model.AggregateRequest using com.m3.octoparts.model.RequestMeta and a list of com.m3.octoparts.model.PartRequest
Builds an com.m3.octoparts.model.AggregateRequest using com.m3.octoparts.model.RequestMeta and a list of com.m3.octoparts.model.PartRequest
You may wish to (abstract) override this if you have you have your own requirements for pulling shared data from com.m3.octoparts.model.RequestMeta into your com.m3.octoparts.model.PartRequests
Returns a base URL for the Cache-related APIs
Returns a base URL for the Cache-related APIs
The (HTTP) timeout that you would like this client to use.
The (HTTP) timeout that you would like this client to use. Note that sending AggregateRequest will result in using the max of this parameter and the timeout on the request (if it exists)
Drops the final forward slash from a string if it exists.
Drops the final forward slash from a string if it exists.
As far as I can see, this does not use any Regexp..
Does a POST with empty content to the given URL and maps the response to true if the response status is less than 400 or false otherwise
Does a POST with empty content to the given URL and maps the response to true if the response status is less than 400 or false otherwise
Generates a default dumb/empty com.m3.octoparts.model.AggregateResponse.
Generates a default dumb/empty com.m3.octoparts.model.AggregateResponse.
Returns a base URL for the Endpoint APIs
Returns a base URL for the Endpoint APIs
Extra margin of wait time for timeouts.
Extra margin of wait time for timeouts. Defaults to 50 milliseconds.
Invalidates cache for a single part
Invalidates cache for a single part
Invalidates a region of the cache for a single part.
Invalidates a region of the cache for a single part. If the part does not exist, returns true anyways.
Invalidates a group of caches If the group does not exist, returns false.
Invalidates a group of caches If the group does not exist, returns false.
Invalidates a region for a group of caches If the group does not exist, returns false.
Invalidates a region for a group of caches If the group does not exist, returns false.
Returns a Futurecom.m3.octoparts.model.AggregateResponse received from asynchronously invoking Octoparts using the provided argument object, and com.m3.octoparts.model.PartRequest list.
Returns a Futurecom.m3.octoparts.model.AggregateResponse received from asynchronously invoking Octoparts using the provided argument object, and com.m3.octoparts.model.PartRequest list.
A RequestMetaBuilder type class instance for the first argument must be in scope at the call-site.
Returns a Futurecom.m3.octoparts.model.AggregateResponse received from asynchronously invoking Octoparts using the provided com.m3.octoparts.model.AggregateRequest
Returns a Futurecom.m3.octoparts.model.AggregateResponse received from asynchronously invoking Octoparts using the provided com.m3.octoparts.model.AggregateRequest
Returns a Future Seqcom.m3.octoparts.model.config.json.HttpPartConfig, which describes all the endpoints registered to the Octoparts service.
Returns a Future Seqcom.m3.octoparts.model.config.json.HttpPartConfig, which describes all the endpoints registered to the Octoparts service.
Simple named logger
Simple named logger
Defines the AggregateResponse rescue return value
Defines the AggregateResponse rescue return value
Defines the SeqHttpPartConfig rescue return value
Defines the SeqHttpPartConfig rescue return value
PartialFunction for recover
ing from errors when hitting Octoparts
PartialFunction for recover
ing from errors when hitting Octoparts
Given an ApiUrl and path segments, returns the full URL for that operation, filling in path segments where appropriate
Given an ApiUrl and path segments, returns the full URL for that operation, filling in path segments where appropriate
Returns a play.api.libs.ws.WSRequestHolder for a given a URL string
Returns a play.api.libs.ws.WSRequestHolder for a given a URL string
Asynchronously sends a POST request to Octoparts.
Asynchronously sends a POST request to Octoparts.
You may wish to (abstract) override this if you want to do custom error-handling on the WS request level.
URL to post to
Timeout value for the request
Default Octoparts OctoClientLike implementation
Has a rescuer method that tries its best to recover from all reasonable errors.