public class RequestInterceptor extends BatchClientBehavior
BatchClientBehavior
that modifies requests to the Batch service.Constructor and Description |
---|
RequestInterceptor()
Initializes a new instance of RequestInterceptor.
|
RequestInterceptor(BatchRequestInterceptHandler handler)
Initializes a new instance of RequestInterceptor.
|
Modifier and Type | Method and Description |
---|---|
BatchRequestInterceptHandler |
handler()
Gets the handler which will intercept requests to the Batch service.
|
RequestInterceptor |
withHandler(BatchRequestInterceptHandler handler)
Sets the handler which will intercept requests to the Batch service.
|
public RequestInterceptor()
public RequestInterceptor(BatchRequestInterceptHandler handler)
handler
- The handler which will intercept requests to the Batch service.public BatchRequestInterceptHandler handler()
public RequestInterceptor withHandler(BatchRequestInterceptHandler handler)
handler
- The handler which will intercept requests to the Batch service.Copyright © 2019. All rights reserved.