|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.control.util.SyncReplItem
public class SyncReplItem
Contains data returned when using the sync repl search control.
| Nested Class Summary | |
|---|---|
static class |
SyncReplItem.Entry
Wrapper class that provides easy access to the SyncStateControl
contained in a search entry. |
static class |
SyncReplItem.Response
Wrapper class that provides easy access to the SyncDoneControl
contained in a response. |
| Constructor Summary | |
|---|---|
SyncReplItem(AsyncRequest request)
Creates a new sync repl item. |
|
SyncReplItem(Exception exception)
Creates a new sync repl item. |
|
SyncReplItem(SyncInfoMessage message)
Creates a new sync repl item. |
|
SyncReplItem(SyncReplItem.Entry entry)
Creates a new sync repl item. |
|
SyncReplItem(SyncReplItem.Response response)
Creates a new sync repl item. |
|
| Method Summary | |
|---|---|
AsyncRequest |
getAsyncRequest()
Returns the async request contained in this item or null if this item does not contain an async request. |
SyncReplItem.Entry |
getEntry()
Returns the entry contained in this item or null if this item does not contain an entry. |
Exception |
getException()
Returns the exception contained in this item or null if this item does not contain an exception. |
SyncInfoMessage |
getMessage()
Returns the intermediate message contained in this item or null if this item does not contain a message. |
SyncReplItem.Response |
getResponse()
Returns the response contained in this item or null if this item does not contain a response. |
boolean |
isAsyncRequest()
Returns whether this item represents an async request. |
boolean |
isEntry()
Returns whether this item represents a search entry. |
boolean |
isException()
Returns whether this item represents an exception. |
boolean |
isMessage()
Returns whether this item represents an intermediate message. |
boolean |
isResponse()
Returns whether this item represents a response. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SyncReplItem(AsyncRequest request)
request - that represents this itempublic SyncReplItem(SyncReplItem.Entry entry)
entry - that represents this itempublic SyncReplItem(SyncInfoMessage message)
message - that represents this itempublic SyncReplItem(SyncReplItem.Response response)
response - that represents this itempublic SyncReplItem(Exception exception)
exception - that represents this item| Method Detail |
|---|
public boolean isAsyncRequest()
public AsyncRequest getAsyncRequest()
public boolean isEntry()
public SyncReplItem.Entry getEntry()
public boolean isMessage()
public SyncInfoMessage getMessage()
public boolean isResponse()
public SyncReplItem.Response getResponse()
public boolean isException()
public Exception getException()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||