|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.shared.dsmlv2.request.BatchRequest
public class BatchRequest
This class represents the Batch Request of a DSML Request
| Nested Class Summary | |
|---|---|
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 Summary | |
|---|---|
BatchRequest()
Creates a new instance of BatchRequest. |
|
| Method Summary | |
|---|---|
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 |
java.util.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 |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BatchRequest()
| Method Detail |
|---|
public boolean addRequest(LdapMessageCodec request)
request - the resquest to add
public 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 java.util.List getRequests()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||