Base URL for Octoparts
The client-wide timeout
The client-wide timeout
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
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
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
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
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
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 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 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.
a list of partIds in specific to retrieve endpoint info for.
Simple named logger
Simple named logger
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
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
Octoparts client interface based on WS.
Useful if you want to customise certain phases of building a WS request (e.g. logging, hooks)