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:
JRE 8 rt.jar - com.* Package Source Code
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries.
JRE (Java Runtime) 8 is the runtime environment included in JDK 8.
JRE 8 rt.jar libraries are divided into 6 packages:
com.* - Internal Oracle and Sun Microsystems libraries java.* - Standard Java API libraries. javax.* - Extended Java API libraries. jdk.* - JDK supporting libraries. org.* - Third party libraries. sun.* - Old libraries developed by Sun Microsystems.
JAR File Information:
Directory of C:\fyicenter\jdk-1.8.0_191\jre\lib 63,596,151 rt.jar
Here is the list of Java classes of the com.* package in JRE 1.8.0_191 rt.jar. Java source codes are also provided.
✍: FYIcenter
⏎ com/sun/corba/se/impl/protocol/giopmsgheaders/RequestMessage_1_2.java
/* * Copyright (c) 2000, 2004, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.corba.se.impl.protocol.giopmsgheaders; import org.omg.CORBA.Principal; import com.sun.corba.se.spi.servicecontext.ServiceContexts; import com.sun.corba.se.spi.ior.iiop.GIOPVersion; import com.sun.corba.se.spi.orb.ORB; import com.sun.corba.se.spi.ior.ObjectKey; import com.sun.corba.se.impl.encoding.CDRInputStream; import com.sun.corba.se.impl.encoding.CDROutputStream; import com.sun.corba.se.impl.orbutil.ORBConstants; import com.sun.corba.se.impl.encoding.CDRInputStream_1_2; import com.sun.corba.se.impl.encoding.CDROutputStream_1_2; import com.sun.corba.se.spi.logging.CORBALogDomains ; import com.sun.corba.se.impl.logging.ORBUtilSystemException ; /** * This implements the GIOP 1.2 Request header. * * @author Ram Jeyaraman 05/14/2000 */ public final class RequestMessage_1_2 extends Message_1_2 implements RequestMessage { // Instance variables private ORB orb = null; private ORBUtilSystemException wrapper = null ; private byte response_flags = (byte) 0; private byte reserved[] = null; private TargetAddress target = null; private String operation = null; private ServiceContexts service_contexts = null; private ObjectKey objectKey = null; // Constructors RequestMessage_1_2(ORB orb) { this.orb = orb; this.wrapper = ORBUtilSystemException.get( orb, CORBALogDomains.RPC_PROTOCOL ) ; } RequestMessage_1_2(ORB orb, int _request_id, byte _response_flags, byte[] _reserved, TargetAddress _target, String _operation, ServiceContexts _service_contexts) { super(Message.GIOPBigMagic, GIOPVersion.V1_2, FLAG_NO_FRAG_BIG_ENDIAN, Message.GIOPRequest, 0); this.orb = orb; this.wrapper = ORBUtilSystemException.get( orb, CORBALogDomains.RPC_PROTOCOL ) ; request_id = _request_id; response_flags = _response_flags; reserved = _reserved; target = _target; operation = _operation; service_contexts = _service_contexts; } // Accessor methods (RequestMessage interface) public int getRequestId() { return this.request_id; } public boolean isResponseExpected() { /* case 1: LSBit[1] == 1 not a oneway call (DII flag INV_NO_RESPONSE is false) // Ox03 LSBit[0] must be 1. case 2: LSBit[1] == 0 if (LSB[0] == 0) // Ox00 oneway call else if (LSB[0] == 1) // 0x01 oneway call; but server may provide a location forward response or system exception response. */ if ( (this.response_flags & RESPONSE_EXPECTED_BIT) == RESPONSE_EXPECTED_BIT ) { return true; } return false; } public byte[] getReserved() { return this.reserved; } public ObjectKey getObjectKey() { if (this.objectKey == null) { // this will raise a MARSHAL exception upon errors. this.objectKey = MessageBase.extractObjectKey(target, orb); } return this.objectKey; } public String getOperation() { return this.operation; } public Principal getPrincipal() { // REVISIT Should we throw an exception or return null ? return null; } public ServiceContexts getServiceContexts() { return this.service_contexts; } // IO methods public void read(org.omg.CORBA.portable.InputStream istream) { super.read(istream); this.request_id = istream.read_ulong(); this.response_flags = istream.read_octet(); this.reserved = new byte[3]; for (int _o0 = 0;_o0 < (3); ++_o0) { this.reserved[_o0] = istream.read_octet(); } this.target = TargetAddressHelper.read(istream); getObjectKey(); // this does AddressingDisposition check this.operation = istream.read_string(); this.service_contexts = new ServiceContexts((org.omg.CORBA_2_3.portable.InputStream) istream); // CORBA formal 00-11-0 15.4.2.2 GIOP 1.2 body must be // aligned on an 8 octet boundary. // Ensures that the first read operation called from the stub code, // during body deconstruction, would skip the header padding, that was // inserted to ensure that the body was aligned on an 8-octet boundary. ((CDRInputStream)istream).setHeaderPadding(true); } public void write(org.omg.CORBA.portable.OutputStream ostream) { super.write(ostream); ostream.write_ulong(this.request_id); ostream.write_octet(this.response_flags); nullCheck(this.reserved); if (this.reserved.length != (3)) { throw wrapper.badReservedLength( org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE); } for (int _i0 = 0;_i0 < (3); ++_i0) { ostream.write_octet(this.reserved[_i0]); } nullCheck(this.target); TargetAddressHelper.write(ostream, this.target); ostream.write_string(this.operation); if (this.service_contexts != null) { service_contexts.write( (org.omg.CORBA_2_3.portable.OutputStream) ostream, GIOPVersion.V1_2); } else { ServiceContexts.writeNullServiceContext( (org.omg.CORBA_2_3.portable.OutputStream) ostream); } // CORBA formal 00-11-0 15.4.2.2 GIOP 1.2 body must be // aligned on an 8 octet boundary. // Ensures that the first write operation called from the stub code, // during body construction, would insert a header padding, such that // the body is aligned on an 8-octet boundary. ((CDROutputStream)ostream).setHeaderPadding(true); } public void callback(MessageHandler handler) throws java.io.IOException { handler.handleInput(this); } } // class RequestMessage_1_2
⏎ com/sun/corba/se/impl/protocol/giopmsgheaders/RequestMessage_1_2.java
Or download all of them as a single archive file:
File name: jre-rt-com-1.8.0_191-src.zip File size: 8099783 bytes Release date: 2018-10-28 Download
⇒ Backup JDK 8 Installation Directory
2023-02-07, 235379👍, 3💬
Popular Posts:
Java Architecture for XML Binding (JAXB) is a Java API that allows Java developers to map Java class...
Apache Commons Codec library provides implementations of common encoders and decoders such as Base64...
What Is poi-contrib-3.5.jar? poi-contrib-3.5.jar is one of the JAR files for Apache POI 3.5, which p...
JDK 17 java.base.jmod is the JMOD file for JDK 17 Base module. JDK 17 Base module compiled class fil...
The Apache FontBox library is an open source Java tool to obtain low level information from font fil...