Awaits for an Output wrapped with Try (indicating if the com.twitter.util.Future is failed).
Awaits for an Output wrapped with Try (indicating if the com.twitter.util.Future is failed).
Some(output)
if this endpoint was matched on a given input, None
otherwise.
This method is blocking. Never use it in production.
Awaits an Output of the Endpoint result or throws an exception if an underlying com.twitter.util.Future is failed.
Awaits an Output of the Endpoint result or throws an exception if an underlying com.twitter.util.Future is failed.
Some(output)
if this endpoint was matched on a given input, None
otherwise.
This method is blocking. Never use it in production.
Awaits a value from the Output wrapped with Try (indicating if either the com.twitter.util.Future is failed or Output wasn't a payload).
Awaits a value from the Output wrapped with Try (indicating if either the com.twitter.util.Future is failed or Output wasn't a payload).
Some(value)
if this endpoint was matched on a given input, None
otherwise.
This method is blocking. Never use it in production.
Awaits a value from the Output or throws an exception if either an underlying com.twitter.util.Future is failed or Output wasn't a payload.
Awaits a value from the Output or throws an exception if either an underlying com.twitter.util.Future is failed or Output wasn't a payload.
Some(value)
if this endpoint was matched on a given input,
None
otherwise.
@note This method is blocking. Never use it in production.
Whether the Endpoint is matched on a given Input.
Runs and returns the Output (wrapped with future) after an Endpoint is matched.
Some(output)
if this endpoint was matched on a given input,
None
otherwise.
Returns the remainder of the Input after an Endpoint is matched.
Some(remainder)
if this endpoint was matched on a given input,
None
otherwise.