Abstract
Readonly
beforeActor that must be registered in the bus before this actor.
Readonly
busThe bus this actor subscribes to.
Readonly
maxThe maximum allowed accept header value length for non-browser environments.
Readonly
maxThe maximum allowed accept header value length for browser environments.
Readonly
mediatorThe HTTP mediator.
Readonly
nameThe name for this actor.
Protected
dereferenceHandle the given error as a rejection or delegate it to the logger, depending on whether or not hard errors are enabled.
An action.
An error that has occurred.
Data to add to the output
Protected
getOptional
data: () => anyProtected
Abstract
getProtected
handleHandle the given error as a rejection or delegate it to the logger, depending on whether or not hard errors are enabled.
A dereference action.
An error that has occurred.
Optional
headers: HeadersOptional HTTP headers to pass.
The time it took to request the page in milliseconds.
A promise that rejects or resolves to an empty output.
Protected
logOptional
data: () => anyProtected
logOptional
data: () => anyProtected
logOptional
data: () => anyProtected
logOptional
data: () => anyProtected
logOptional
data: () => anyProtected
logOptional
data: () => anyRun the given action on this actor.
In most cases, this method should not be called directly. Instead, #runObservable should be called.
The action to run.
A promise that resolves to the run result.
Run the given action on this actor AND invokes the Bus#onRun method.
The action to run.
A promise that resolves to the run result.
Check if this actor can run the given action, without actually running it.
The action to test.
A promise that resolves to the test result.
Static
getGet the logger from the given context.
An optional context.
The logger or undefined.
An actor that listens on the 'dereference' bus.
It resolves the URL using the HTTP bus using an accept header compiled from the available media types.