Search in sources :

Example 1 with SearchResultReferenceImpl

use of org.apache.directory.api.ldap.model.message.SearchResultReferenceImpl in project directory-ldap-api by apache.

the class InitSearchResultReference method action.

/**
 * {@inheritDoc}
 */
public void action(LdapMessageContainer<SearchResultReferenceDecorator> container) throws DecoderException {
    // Now, we can allocate the SearchResultReference Object
    SearchResultReferenceDecorator searchResultReference = new SearchResultReferenceDecorator(container.getLdapCodecService(), new SearchResultReferenceImpl(container.getMessageId()));
    container.setMessage(searchResultReference);
    LOG.debug("SearchResultReference response ");
}
Also used : SearchResultReferenceImpl(org.apache.directory.api.ldap.model.message.SearchResultReferenceImpl) SearchResultReferenceDecorator(org.apache.directory.api.ldap.codec.decorators.SearchResultReferenceDecorator)

Aggregations

SearchResultReferenceDecorator (org.apache.directory.api.ldap.codec.decorators.SearchResultReferenceDecorator)1 SearchResultReferenceImpl (org.apache.directory.api.ldap.model.message.SearchResultReferenceImpl)1