javax.naming.ldap
public class StartTlsRequest extends Object implements ExtendedRequest
Modifier and Type | Field and Description |
---|---|
static String |
OID
The assigned object identifier for this response.
|
Constructor and Description |
---|
StartTlsRequest()
Create a new instance.
|
Modifier and Type | Method and Description |
---|---|
ExtendedResponse |
createExtendedResponse(String id,
byte[] berValue,
int offset,
int length)
Create a new extended reponse object, using the standard service
provider approach to load a provider.
|
byte[] |
getEncodedValue()
Return the encoded value.
|
String |
getID()
Return the response identifier.
|
public static final String OID
public StartTlsRequest()
public String getID()
OID
field.getID
in interface ExtendedRequest
public byte[] getEncodedValue()
getEncodedValue
in interface ExtendedRequest
public ExtendedResponse createExtendedResponse(String id, byte[] berValue, int offset, int length) throws NamingException
createExtendedResponse
in interface ExtendedRequest
id
- the identifier, must be OID
or nullberValue
- ignoredoffset
- ignoredlength
- ignoredNamingException
- if there is a problem creating the response