handler.java

来自「aglet的部分源码」· Java 代码 · 共 41 行

JAVA
41
字号
package com.ibm.net.protocol.rmi;/* * @(#)Handler.java *  * IBM Confidential-Restricted *  * OCO Source Materials *  * 03L7246 (c) Copyright IBM Corp. 1996, 1998 *  * The source code for this program is not published or otherwise * divested of its trade secrets, irrespective of what has been * deposited with the U.S. Copyright Office. */import java.net.URLStreamHandler;import java.net.URL;import java.net.URLConnection;import java.io.IOException;/** * A stream protocol handler for rmi protocol. *  * @version     1.00    96/06/20 * @author      Danny B. Lange * @author      Mitsuru Oshima */public class Handler extends URLStreamHandler {	/**	 * Opens a connection to the object referenced by the URL argument.	 * @param url the URL that this connect to.	 * @return an AtpURLConnection object for the URL.	 */	public URLConnection openConnection(URL url) throws IOException {		return new URLConnectionForRMI(url);	}}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?