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 17 java.naming.jmod - Naming Module
JDK 17 java.naming.jmod is the JMOD file for JDK 17 Naming module.
JDK 17 Naming module compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\java.naming.jmod.
JDK 17 Naming module compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 Naming module source code files are stored in \fyicenter\jdk-17.0.5\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-17.0.5-src.zip File size: 490626 bytes Release date: 2022-09-13 Download
⇒ JDK 17 java.net.http.jmod - Net HTTP Module
2023-09-23, 6533👍, 0💬
Popular Posts:
pache Derby is an open source relational database implemented entirely in Java and available under t...
What Is poi-scratchpad-3.5.jar? poi-scratchpad-3.5.jar is one of the JAR files for Apache POI 3.5, w...
JAX-WS is an API for building web services and clients. It is the next generation Web Services API r...
JRE 5 sunjce_provider.jar is the JAR file for JRE 5 Sun JCE Provider, which provides implementations...
What Is poi-5.2.3.jar? poi-5.2.3.jar is one of the JAR files for Apache POI 5.2.3, which provides an...