|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.ldap.control.AbstractRequestControlDirContextProcessor
org.springframework.ldap.control.PagedResultsRequestControl
public class PagedResultsRequestControl
DirContextProcessor implementation for managing the paged results control.
| Field Summary |
|---|
| Fields inherited from class org.springframework.ldap.control.AbstractRequestControlDirContextProcessor |
|---|
log |
| Constructor Summary | |
|---|---|
PagedResultsRequestControl(int pageSize)
Constructs a new instance. |
|
PagedResultsRequestControl(int pageSize,
PagedResultsCookie cookie)
Constructs a new instance with the supplied page size and cookie. |
|
| Method Summary | |
|---|---|
Control |
createRequestControl()
Create an instance of the appropriate RequestControl. |
PagedResultsCookie |
getCookie()
Get the cookie. |
int |
getPageSize()
Get the page size. |
int |
getResultSize()
Get the total estimated number of entries that matches the issued search. |
void |
postProcess(DirContext ctx)
Perform post-processing on the supplied DirContext. |
void |
setResponseControlClass(Class responseControlClass)
Set the class of the expected ResponseControl for the paged results response. |
| Methods inherited from class org.springframework.ldap.control.AbstractRequestControlDirContextProcessor |
|---|
preProcess |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PagedResultsRequestControl(int pageSize)
pageSize - the page size.
public PagedResultsRequestControl(int pageSize,
PagedResultsCookie cookie)
null if it is the first in an
operation sequence.
pageSize - the page size.cookie - the cookie, as received from a previous search.| Method Detail |
|---|
public PagedResultsCookie getCookie()
public int getPageSize()
public int getResultSize()
public void setResponseControlClass(Class responseControlClass)
PagedResultsResponseControl.
responseControlClass - Class of the expected response control.public Control createRequestControl()
AbstractRequestControlDirContextProcessor
createRequestControl in class AbstractRequestControlDirContextProcessor
public void postProcess(DirContext ctx)
throws NamingException
DirContextProcessorDirContext.
ctx - the DirContext instance.
NamingException - if thrown by the underlying operation.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||