public class BatchRequest extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BatchRequest.OnError
This enum represents the different types of on error handling for a BatchRequest
|
static class |
BatchRequest.Processing
This enum represents the different types of processing for a Batch Request
|
static class |
BatchRequest.ResponseOrder
This enum represents the different types of response order for a Batch Request
|
| Constructor and Description |
|---|
BatchRequest()
Creates a new instance of BatchRequest.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addRequest(LdapMessageCodec request)
Adds a request
|
LdapMessageCodec |
getCurrentRequest()
Gets the current request
|
BatchRequest.OnError |
getOnError()
Gets the on error handling type of the request
|
BatchRequest.Processing |
getProcessing()
Gets the processing type of the request
|
int |
getRequestID()
Gets the ID of the request
|
List |
getRequests()
Gets the List of all the requests in the Batch Request
|
BatchRequest.ResponseOrder |
getResponseOrder()
Gets the reponse order type of the request
|
void |
setOnError(BatchRequest.OnError onError)
Sets the on error handling type of the request
|
void |
setProcessing(BatchRequest.Processing processing)
Sets the processing type of the request
|
void |
setRequestID(int requestID)
Sets the ID of the request
|
void |
setResponseOrder(BatchRequest.ResponseOrder responseOrder)
Sets the reponse order type of the request
|
String |
toString() |
public boolean addRequest(LdapMessageCodec request)
request - the resquest to addpublic LdapMessageCodec getCurrentRequest()
public int getRequestID()
public void setRequestID(int requestID)
requestID - the ID to setpublic BatchRequest.Processing getProcessing()
public void setProcessing(BatchRequest.Processing processing)
processing - the processing type to setpublic BatchRequest.OnError getOnError()
public void setOnError(BatchRequest.OnError onError)
onError - the on error handling type to setpublic BatchRequest.ResponseOrder getResponseOrder()
public void setResponseOrder(BatchRequest.ResponseOrder responseOrder)
responseOrder - the reponse order type to setpublic List getRequests()
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.