Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
JDK 11 java.naming.jmod - Naming Module
JDK 11 java.naming.jmod is the JMOD file for JDK 11 Naming module.
JDK 11 Naming module compiled class files are stored in \fyicenter\jdk-11.0.1\jmods\java.naming.jmod.
JDK 11 Naming module compiled class files are also linked and stored in the \fyicenter\jdk-11.0.1\lib\modules JImage file.
JDK 11 Naming module source code files are stored in \fyicenter\jdk-11.0.1\lib\src.zip\java.naming.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ com/sun/jndi/ldap/EntryChangeResponseControl.java
/* * Copyright (c) 1999, 2002, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.jndi.ldap; import java.io.IOException; import javax.naming.*; import javax.naming.directory.*; /** * This class implements the LDAPv3 Response Control for entry-change * notification as defined in * <a href="http://www.ietf.org/internet-drafts/draft-ietf-ldapext-psearch-02.txt">draft-ietf-ldapext-psearch-02.txt</a>. * * The control's value has the following ASN.1 definition: * <pre> * * EntryChangeNotification ::= SEQUENCE { * changeType ENUMERATED { * add (1), * delete (2), * modify (4), * modDN (8) * }, * previousDN LDAPDN OPTIONAL, -- modifyDN ops. only * changeNumber INTEGER OPTIONAL, -- if supported * } * * </pre> * * @see PersistentSearchControl * @see com.sun.jndi.ldap.ctl.ResponseControlFactory ResponseControlFactory * @author Vincent Ryan */ final public class EntryChangeResponseControl extends BasicControl { /** * The entry-change response control's assigned object identifier * is 2.16.840.1.113730.3.4.7. */ public static final String OID = "2.16.840.1.113730.3.4.7"; /** * Indicates an entry which has been added. */ public static final int ADD = 1; /** * Indicates an entry which has been deleted. */ public static final int DELETE = 2; /** * Indicates an entry which has been modified. */ public static final int MODIFY = 4; /** * Indicates an entry which has been renamed. */ public static final int RENAME = 8; /** * The type of change that occurred. * * @serial */ private int changeType; /** * The previous distinguished name (only applies to RENAME changes). * * @serial */ private String previousDN = null; /** * The change number (if supported by the server). * * @serial */ private long changeNumber = -1L; private static final long serialVersionUID = -2087354136750180511L; /** * Constructs a new instance of EntryChangeResponseControl. * * @param id The control's object identifier string. * @param criticality The control's criticality. * @param value The control's ASN.1 BER encoded value. * May be null. * @exception IOException if an error is encountered * while decoding the control's value. */ public EntryChangeResponseControl(String id, boolean criticality, byte[] value) throws IOException { super(id, criticality, value); // decode value if ((value != null) && (value.length > 0)) { BerDecoder ber = new BerDecoder(value, 0, value.length); ber.parseSeq(null); changeType = ber.parseEnumeration(); if ((ber.bytesLeft() > 0) && (ber.peekByte() == Ber.ASN_OCTET_STR)){ previousDN = ber.parseString(true); } if ((ber.bytesLeft() > 0) && (ber.peekByte() == Ber.ASN_INTEGER)) { changeNumber = ber.parseInt(); } } } /** * Retrieves the type of change that occurred. * * @return The type of change. */ public int getChangeType() { return changeType; } /** * Retrieves the previous distinguished name of the entry before it was * renamed and/or moved. This method applies only to RENAME changes. * * @return The previous distinguished name or null if not applicable. */ public String getPreviousDN() { return previousDN; } /** * Retrieves the change number assigned by the server for this change. * Returns -1 if this feature is not supported by the server. * * @return The change number or -1 if unsupported. */ public long getChangeNumber() { return changeNumber; } }
⏎ com/sun/jndi/ldap/EntryChangeResponseControl.java
Or download all of them as a single archive file:
File name: java.naming-11.0.1-src.zip File size: 461792 bytes Release date: 2018-11-04 Download
⇒ JDK 11 java.net.http.jmod - Net HTTP Module
2020-09-30, 53156👍, 0💬
Popular Posts:
What Is javax.websocket-api-1.1. jar?javax.websocket-api-1.1. jaris the JAR file for Java API for We...
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime e...
Provides a simple high-level Http server API, which can be used to build embedded HTTP servers. Both...
How to download and install Apache ZooKeeper Source Package? Apache ZooKeeper is an open-source serv...
commons-fileupload-1.3.3 -sources.jaris the source JAR file for Apache Commons FileUpload 1.3., whic...