Package org.ldaptive.transport.netty
Class EncodedRequest
- java.lang.Object
-
- org.ldaptive.transport.netty.EncodedRequest
-
public class EncodedRequest extends Object
Wrapper object that stores an encoded request with its message ID.
-
-
Constructor Summary
Constructors Constructor Description EncodedRequest(int id, Request request)
Creates a new encoded request.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getEncoded()
Returns the encoded request.int
getMessageID()
Returns the message ID.String
toString()
-
-
-
Constructor Detail
-
EncodedRequest
public EncodedRequest(int id, Request request)
Creates a new encoded request.- Parameters:
id
- message IDrequest
- to encode
-
-