Interface ExtendedResult
- All Superinterfaces:
ProtocolOp, Response, Result
- All Known Implementing Classes:
GenericExtendedResult, PasswordModifyExtendedResult, RegistrationToCoreExtendedResult, StartTlsExtendedResult, WhoAmIExtendedResult
-
Method Summary
Methods inherited from interface ProtocolOp
addControl, addControls, containsControl, controls, getControl, getControl, removeControlsMethods inherited from interface Result
cause, diagnosticMessage, diagnosticMessageAsString, isReferral, isSuccess, matchedDn, referralUris, resultCode
-
Method Details
-
oid
String oid()Returns the numeric OID, if any, associated with this extended result.- Returns:
- The numeric OID associated with this extended result, or
nullif there is no OID.
-
value
ByteString value()Returns the value, if any, associated with this extended result. Its format is defined by the specification of this extended result.- Returns:
- The value associated with this extended result, or
nullif there is no value.
-
hasValue
boolean hasValue()Returnstrueif this extended result has a value. In some circumstances it may be useful to determine if an extended result has a value, without actually calculating the value and incurring any performance costs.- Returns:
trueif this extended result has a value, orfalseif there is no value.
-