@DoNotInherit
public interface TimeoutAccess
Modifier and Type | Method and Description |
---|---|
scala.concurrent.duration.Duration |
getTimeout()
Returns the currently set timeout.
|
void |
update(scala.concurrent.duration.Duration timeout,
akka.japi.Function<HttpRequest,HttpResponse> handler)
Tries to set a new timeout and handler at the same time.
|
void |
updateHandler(akka.japi.Function<HttpRequest,HttpResponse> handler)
Tries to set a new timeout handler, which produces the timeout response for a
given request.
|
void |
updateTimeout(scala.concurrent.duration.Duration timeout)
Tries to set a new timeout.
|
scala.concurrent.duration.Duration getTimeout()
void updateTimeout(scala.concurrent.duration.Duration timeout)
void updateHandler(akka.japi.Function<HttpRequest,HttpResponse> handler)
void update(scala.concurrent.duration.Duration timeout, akka.japi.Function<HttpRequest,HttpResponse> handler)