| /* | |
| * Copyright 2003,2004 The Apache Software Foundation. | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software | |
| * distributed under the License is distributed on an "AS IS" BASIS, | |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| * See the License for the specific language governing permissions and | |
| * limitations under the License. | |
| */ | |
| /* | |
| */ | |
| package org.apache.pluto; | |
| /** | |
| * Constant values used to bind internal portlet objects as attributes, | |
| * typically to a request. | |
| * @version 1.0 | |
| */ | |
| public class Constants { | |
| /** | |
| * The key used to bind the <code>PortletRequest</code> to the underlying | |
| * <code>HttpServletRequest</code>. | |
| */ | |
| public final static String PORTLET_REQUEST = "javax.portlet.request"; | |
| /** | |
| * The key used to bind the <code>PortletResponse</code> to the underlying | |
| * <code>HttpServletRequest</code>. | |
| */ | |
| public final static String PORTLET_RESPONSE = "javax.portlet.response"; | |
| /** | |
| * The key used to bind the <code>PortletConfig</code> to the underlying | |
| * PortletConfig. | |
| */ | |
| public final static String PORTLET_CONFIG = "javax.portlet.config"; | |
| /** | |
| * The key used to bind the method of processing being requested by the | |
| * container to the underlying <code>PortletRquest</code>. | |
| */ | |
| public final static String METHOD_ID = "org.apache.pluto.core.method"; | |
| /** | |
| * The unique method identifier for render requests. Render requests are | |
| * requested through a call to the {@link PortletContainer#doRender(org.apache.pluto.PortletWindow, | |
| * javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)} | |
| * method. | |
| */ | |
| public final static Integer METHOD_RENDER = new Integer(1); | |
| /** | |
| * The unique method identifier for render requests. Render requests are | |
| * requested through a call to the {@link PortletContainer#doAction(org.apache.pluto.PortletWindow, | |
| * javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)} | |
| * method. | |
| */ | |
| public final static Integer METHOD_ACTION = new Integer(3); | |
| /** | |
| * The unique method identifier for render requests. Render requests are | |
| * requested through a call to the {@link PortletContainer#doLoad(org.apache.pluto.PortletWindow, | |
| * javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)} | |
| * method. | |
| */ | |
| public final static Integer METHOD_NOOP = new Integer(5); | |
| } |