Interface UnsolicitedNotification

Interface UnsolicitedNotification

public interface UnsolicitedNotification
extends ExtendedResponse, HasControls

RFC 2251에 정의된 비요청 알림(unsolicited notification)을 나타내는 인터페이스예요. 비요청 알림은 클라이언트의 요청 없이 LDAP 서버가 LDAP 클라이언트에게 보내는 것이에요. 그 형식은 확장 응답(ExtendedResponse)의 형식이에요.

getReferrals

String[] getReferrals()

서버가 보낸 referral(참조) 목록을 가져와요.

  • Returns: 각각 URL 문자열로 표현되는, null일 수 있는 referral 배열. null이면 서버가 referral을 보내지 않은 것

getException

NamingException getException()

서버가 보낸 정보를 사용해 구성된 예외를 가져와요.

  • Returns: 서버가 보낸 정보로 구성된, null일 수 있는 예외. null이면 서버가 "성공(success)" 상태를 나타낸 것