serverrequest.java

来自「java jdk 1.4的源码」· Java 代码 · 共 76 行

JAVA
76
字号
/* * @(#)ServerRequest.java	1.25 03/01/23 * * Copyright 2003 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */package com.sun.corba.se.internal.core;import org.omg.CORBA.SystemException;import org.omg.CORBA.portable.ResponseHandler;import org.omg.CORBA.portable.UnknownException;/** * ServerRequest represents the incoming request on the server-side. */public interface ServerRequest extends MarshalInputStream, Request, ResponseHandler {    /**     * Create a normal (invocation return) response for this request.     */    public ServerResponse	createResponse(ServiceContexts svc);    /**     * Create a response that represents an user exception.     *     */    public ServerResponse	createUserExceptionResponse(ServiceContexts svc);    /**     * Create a response that represents an unknown exception.     *     */    public ServerResponse	createUnknownExceptionResponse(UnknownException ex);    /**     * Create a response that represents a system exception.     */    public ServerResponse        createSystemExceptionResponse(SystemException ex,				      ServiceContexts svc);    /**     * Create a response that represents a location forward.     */    public ServerResponse	createLocationForward(IOR ior, ServiceContexts svc);    public boolean executeReturnServantInResponseConstructor();    public void setExecuteReturnServantInResponseConstructor(boolean b);    public boolean executeRemoveThreadInfoInResponseConstructor();    public void setExecuteRemoveThreadInfoInResponseConstructor(boolean b);    /**     * Returns true if we are to execute Portable Interceptors ending     * points in the ServerResponse constructor.     */    public boolean executePIInResponseConstructor();    /**     * Pass in whether we are to execute Portable Interceptors ending     * points in the ServerResponse constructor.     */    public void setExecutePIInResponseConstructor( boolean b );}

⌨️ 快捷键说明

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