org.apache.directory.api.ldap.model.message
Class AbstractResponse

java.lang.Object
  extended by org.apache.directory.api.ldap.model.message.AbstractMessage
      extended by org.apache.directory.api.ldap.model.message.AbstractResponse
All Implemented Interfaces:
Message, Response
Direct Known Subclasses:
AbstractResultResponse, SearchResultEntryImpl, SearchResultReferenceImpl

public abstract class AbstractResponse
extends AbstractMessage
implements Response

Abstract base for a Response message.

Author:
Apache Directory Project

Field Summary
 
Fields inherited from class org.apache.directory.api.ldap.model.message.AbstractMessage
controls
 
Constructor Summary
protected AbstractResponse(int id, MessageTypeEnum type)
          Allows subclasses based on the abstract type to create a response to a request.
 
Method Summary
 
Methods inherited from class org.apache.directory.api.ldap.model.message.AbstractMessage
addAllControls, addControl, equals, get, getControl, getControls, getMessageId, getType, hasControl, hashCode, put, removeControl, setMessageId, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.directory.api.ldap.model.message.Message
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId
 

Constructor Detail

AbstractResponse

protected AbstractResponse(int id,
                           MessageTypeEnum type)
Allows subclasses based on the abstract type to create a response to a request.

Parameters:
id - the response eliciting this Request
type - the message type of the response


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.