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/PersistentSearchControl.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; /** * This class implements the LDAPv3 Request Control for the persistent search * mechanism 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> * * PersistentSearch ::= SEQUENCE { * changeTypes INTEGER, * changesOnly BOOLEAN, * returnECs BOOLEAN * } * * </pre> * * @see EntryChangeResponseControl * @author Vincent Ryan */ final public class PersistentSearchControl extends BasicControl { /** * The persistent search control's assigned object identifier * is 2.16.840.1.113730.3.4.3. */ public static final String OID = "2.16.840.1.113730.3.4.3"; /** * Indicates interest in entries which have been added. */ public static final int ADD = 1; /** * Indicates interest in entries which have been deleted. */ public static final int DELETE = 2; /** * Indicates interest in entries which have been modified. */ public static final int MODIFY = 4; /** * Indicates interest in entries which have been renamed. */ public static final int RENAME = 8; /** * Indicates interest in entries which have been added, deleted, * modified or renamed. */ public static final int ANY = ADD | DELETE | MODIFY | RENAME; /** * The change types of interest. All changes, by default. * * @serial */ private int changeTypes = ANY; /** * Return original entries and changed entries or only changed entries. * * @serial */ private boolean changesOnly = false; /** * Return entry change controls. * * @serial */ private boolean returnControls = true; private static final long serialVersionUID = 6335140491154854116L; /** * Constructs a persistent search non-critical control. * The original entries, any changed entries (additions, * deletions, modifications or renames) and entry change * controls are requested. * * @exception IOException If a BER encoding error occurs. */ public PersistentSearchControl() throws IOException { super(OID); super.value = setEncodedValue(); } /** * Constructs a persistent search control. * * @param changeTypes The change types of interest. * @param changesOnly Return original entries and changed entries * or only the changed entries. * @param returnControls Return entry change controls. * @param criticality The control's criticality. * @exception IOException If a BER encoding error occurs. */ public PersistentSearchControl(int changeTypes, boolean changesOnly, boolean returnControls, boolean criticality) throws IOException { super(OID, criticality, null); this.changeTypes = changeTypes; this.changesOnly = changesOnly; this.returnControls = returnControls; super.value = setEncodedValue(); } /* * Sets the ASN.1 BER encoded value of the persistent search control. * The result is the raw BER bytes including the tag and length of * the control's value. It does not include the controls OID or criticality. * * @return A possibly null byte array representing the ASN.1 BER encoded * value of the LDAP persistent search control. * @exception IOException If a BER encoding error occurs. */ private byte[] setEncodedValue() throws IOException { // build the ASN.1 encoding BerEncoder ber = new BerEncoder(32); ber.beginSeq(Ber.ASN_SEQUENCE | Ber.ASN_CONSTRUCTOR); ber.encodeInt(changeTypes); ber.encodeBoolean(changesOnly); ber.encodeBoolean(returnControls); ber.endSeq(); return ber.getTrimmedBuf(); } }
⏎ com/sun/jndi/ldap/PersistentSearchControl.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, 61412👍, 0💬
Popular Posts:
JDK 11 jdk.hotspot.agent.jmod is the JMOD file for JDK 11 Hotspot Agent module. JDK 11 Hotspot Agent...
JDK 11 jdk.internal.vm.ci.jmod is the JMOD file for JDK 11 Internal VM CI module. JDK 11 Internal VM...
Apache ZooKeeper is an open-source server which enables highly reliable distributed coordination. Ap...
How to perform XML Schema validation with dom\Writer.java provided in the Apache Xerces package? You...
Jettison is a collection of Java APIs (like STaX and DOM) which read and write JSON. This allows nea...