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/DefaultResponseControlFactory.java
/* * Copyright (c) 1999, 2003, 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.*; import javax.naming.ldap.*; /** * This class represents a factory for creating LDAPv3 response controls. * The following response controls are supported: * <ul> * <li> * Paged results, as defined in * <a href="http://www.ietf.org/rfc/rfc2696.txt">RFC 2696</a>. * <li> * Server-side sorting, as defined in * <a href="http://www.ietf.org/rfc/rfc2891.txt">RFC 2891</a>. * <li> * Entry change response control, as defined in * <a href="http://www.ietf.org/internet-drafts/draft-ietf-ldapext-psearch-02.txt">draft-ietf-ldapext-psearch-02.txt</a>. * </ul> * * @see javax.naming.ldap.SortResponseControl * @see javax.naming.ldap.PagedResultsResponseControl * @see PersistentSearchControl * @see EntryChangeResponseControl * @author Vincent Ryan */ public class DefaultResponseControlFactory extends ControlFactory { /** * Constructs a new instance of the response control factory. */ public DefaultResponseControlFactory() { } /** * Creates an instance of a response control class from a more * generic control class (BasicControl). * * @param ctl A non-null control. * @return The LDAP control created or null if it cannot be created. * Null indicates that another factory should be attempted. * @exception NamingException if this control factory encountered an * error condition while attempting to create the LDAP control, * and no other control factories are to be tried. */ public Control getControlInstance(Control ctl) throws NamingException { String id = ctl.getID(); //System.out.println(id); try { if (id.equals(SortResponseControl.OID)) { return new SortResponseControl(id, ctl.isCritical(), ctl.getEncodedValue()); } else if (id.equals(PagedResultsResponseControl.OID)) { return new PagedResultsResponseControl(id, ctl.isCritical(), ctl.getEncodedValue()); } else if (id.equals(EntryChangeResponseControl.OID)) { return new EntryChangeResponseControl(id, ctl.isCritical(), ctl.getEncodedValue()); } } catch (IOException e) { NamingException ne = new NamingException(); ne.setRootCause(e); throw ne; } return null; } }
⏎ com/sun/jndi/ldap/DefaultResponseControlFactory.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, 61427👍, 0💬
Popular Posts:
If you are a Java developer, it is very often that you need to use some 3rd party libraries to perfo...
The Apache FontBox library is an open source Java tool to obtain low level information from font fil...
Apache Log4j API provides the interface that applications should code to and provides the adapter co...
JDK 11 jdk.jshell.jmod is the JMOD file for JDK 11 JShell tool, which can be invoked by the "jshell"...
What Is commons-collections4-4.4 .jar?commons-collections4-4.4 .jaris the JAR file for Apache Common...