Class OpaqueExtendedResponse

All Implemented Interfaces:
ExtendedResponse, Message, Response, ResultResponse

public class OpaqueExtendedResponse extends AbstractExtendedResponse
ExtendedResponse basic implementation.
Author:
Apache Directory Project
  • Constructor Details

    • OpaqueExtendedResponse

      public OpaqueExtendedResponse()
      Creates an ExtendedResponse implementing object used to perform extended protocol operation on the server.
    • OpaqueExtendedResponse

      public OpaqueExtendedResponse(int messageId)
      Creates an ExtendedResponse implementing object used to perform extended protocol operation on the server.
      Parameters:
      messageId - the messageID
    • OpaqueExtendedResponse

      public OpaqueExtendedResponse(String responseName)
      Creates an ExtendedResponse implementing object used to perform extended protocol operation on the server.
      Parameters:
      responseName - The extended response OID
    • OpaqueExtendedResponse

      public OpaqueExtendedResponse(int messageId, String responseName)
      Creates an ExtendedResponse implementing object used to perform extended protocol operation on the server.
      Parameters:
      messageId - the messageID
      responseName - The extended response OID
  • Method Details

    • getResponseValue

      public byte[] getResponseValue()
      Returns:
      the response value
    • setResponseValue

      public void setResponseValue(byte[] responseValue)
      Parameters:
      responseValue - the responseValue to set
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class AbstractExtendedResponse
      Returns:
      the instance's hash code
      See Also:
    • equals

      public boolean equals(Object obj)
      Checks to see if an object equals this ExtendedRequest.
      Overrides:
      equals in class AbstractExtendedResponse
      Parameters:
      obj - the object to be checked for equality
      Returns:
      true if the obj equals this ExtendedRequest, false otherwise
    • toString

      public String toString()
      Get a String representation of an Extended Request
      Overrides:
      toString in class AbstractExtendedResponse
      Returns:
      an Extended Request String