Class ExtendedResponseDsml

    • Constructor Detail

      • ExtendedResponseDsml

        public ExtendedResponseDsml​(LdapApiService codec)
        Creates a new getDecoratedMessage() of ExtendedResponseDsml.
        Parameters:
        codec - The LDAP Service to use
      • ExtendedResponseDsml

        public ExtendedResponseDsml​(LdapApiService codec,
                                    ExtendedResponse ldapMessage)
        Creates a new getDecoratedMessage() of ExtendedResponseDsml.
        Parameters:
        codec - The LDAP Service to use
        ldapMessage - the message to decorate
    • Method Detail

      • toDsml

        public org.dom4j.Element toDsml​(org.dom4j.Element root)
        Converts the request/reponse to its XML representation in the DSMLv2 format
        Specified by:
        toDsml in interface DsmlDecorator<ExtendedResponse>
        Parameters:
        root - the root dom4j Element
        Returns:
        the dom4j Element corresponding to the entry.
      • setResponseName

        public void setResponseName​(Oid responseName)
        Set the extended response name
        Parameters:
        responseName - The name to set.
      • getResponseValue

        public byte[] getResponseValue()
        Get the extended response
        Returns:
        Returns the response.
      • setResponseValue

        public void setResponseValue​(byte[] responseValue)
        Set the extended response
        Parameters:
        responseValue - The response to set.