Package org.ldaptive
Class AbandonRequest
- java.lang.Object
-
- org.ldaptive.AbstractRequestMessage
-
- org.ldaptive.AbandonRequest
-
- All Implemented Interfaces:
Request
public class AbandonRequest extends AbstractRequestMessage
LDAP abandon request defined as:AbandonRequest ::= [APPLICATION 16] MessageID
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AbandonRequest.Builder
Abandon request builder.-
Nested classes/interfaces inherited from class org.ldaptive.AbstractRequestMessage
AbstractRequestMessage.AbstractBuilder<B,T extends AbstractRequestMessage>
-
-
Field Summary
Fields Modifier and Type Field Description private int
messageID
Protocol message ID.static int
PROTOCOL_OP
Protocol operation identifier.-
Fields inherited from class org.ldaptive.AbstractRequestMessage
logger
-
-
Constructor Summary
Constructors Modifier Constructor Description private
AbandonRequest()
Default constructor.AbandonRequest(int id)
Creates a new abandon request.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AbandonRequest.Builder
builder()
Creates a builder for this class.int
getMessageID()
protected DEREncoder[]
getRequestEncoders(int id)
Returns the request encoders for this message.String
toString()
-
Methods inherited from class org.ldaptive.AbstractRequestMessage
encode, getControls, getResponseTimeout, setControls, setResponseTimeout
-
-
-
-
Field Detail
-
PROTOCOL_OP
public static final int PROTOCOL_OP
Protocol operation identifier.- See Also:
- Constant Field Values
-
messageID
private int messageID
Protocol message ID.
-
-
Method Detail
-
getMessageID
public int getMessageID()
-
getRequestEncoders
protected DEREncoder[] getRequestEncoders(int id)
Description copied from class:AbstractRequestMessage
Returns the request encoders for this message.- Specified by:
getRequestEncoders
in classAbstractRequestMessage
- Parameters:
id
- message ID- Returns:
- request encoders
-
toString
public String toString()
- Overrides:
toString
in classAbstractRequestMessage
-
builder
public static AbandonRequest.Builder builder()
Creates a builder for this class.- Returns:
- new builder
-
-