public class ServerTimeoutInterceptor extends RequestInterceptor
Constructor and Description |
---|
ServerTimeoutInterceptor(int timeout)
Initializes a new
ServerTimeoutInterceptor for setting the service timeout interval for a request issued to the Batch service. |
Modifier and Type | Method and Description |
---|---|
int |
serverTimeout()
Gets the service timeout interval applied by this
ServerTimeoutInterceptor instance. |
handler, withHandler
public ServerTimeoutInterceptor(int timeout)
ServerTimeoutInterceptor
for setting the service timeout interval for a request issued to the Batch service.timeout
- The service timeout interval, in seconds.public int serverTimeout()
ServerTimeoutInterceptor
instance.Copyright © 2019. All rights reserved.