| | |
| | | * create a new search request. |
| | | * |
| | | * <pre> |
| | | * SearchRequest request = Requests.newSearchRequest( |
| | | * "dc=example,dc=com", SearchScope.WHOLE_SUBTREE, "(sn=Jensen)", "cn"); |
| | | * SearchRequest request = Requests.newSearchRequest("dc=example,dc=com", SearchScope.WHOLE_SUBTREE, |
| | | * "(sn=Jensen)", "cn"); |
| | | * </pre> |
| | | * |
| | | * Alternatively, use the |
| | |
| | | */ |
| | | SearchRequest addAttribute(String... attributeDescriptions); |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override |
| | | SearchRequest addControl(Control control); |
| | | |
| | | /** |
| | |
| | | */ |
| | | List<String> getAttributes(); |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override |
| | | <C extends Control> C getControl(ControlDecoder<C> decoder, DecodeOptions options) |
| | | throws DecodeException; |
| | | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override |
| | | List<Control> getControls(); |
| | | |
| | | /** |