portals-pluto-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msnickl...@apache.org
Subject [1/9] portals-pluto git commit: Added PortalContextWrapper to fulfill PORTLETSPEC3-62. Removed the conditional dispatching interfaces ConditionalDispatchMethod, MethodToken, and ConditionalDispatcher, since they won't be part of the spec.
Date Fri, 26 Feb 2016 14:46:39 GMT
Repository: portals-pluto
Updated Branches:
  refs/heads/V3Prototype cefde6305 -> 5a59b412e


Added PortalContextWrapper to fulfill PORTLETSPEC3-62. Removed the
conditional dispatching interfaces ConditionalDispatchMethod, MethodToken,
and ConditionalDispatcher, since they won't be part of the spec.


Project: http://git-wip-us.apache.org/repos/asf/portals-pluto/repo
Commit: http://git-wip-us.apache.org/repos/asf/portals-pluto/commit/71002263
Tree: http://git-wip-us.apache.org/repos/asf/portals-pluto/tree/71002263
Diff: http://git-wip-us.apache.org/repos/asf/portals-pluto/diff/71002263

Branch: refs/heads/V3Prototype
Commit: 7100226345f73742321f8cedc2e9f39090546211
Parents: cefde63
Author: Scott Nicklous <msnicklous@apache.org>
Authored: Thu Jan 28 16:04:48 2016 +0100
Committer: Scott Nicklous <msnicklous@apache.org>
Committed: Thu Jan 28 16:04:48 2016 +0100

----------------------------------------------------------------------
 .../javax/portlet/ConditionalDispatcher.java    | 157 -------------------
 .../main/java/javax/portlet/MethodToken.java    |  68 --------
 .../java/javax/portlet/PortletResponse.java     |   6 +-
 .../java/javax/portlet/ResourceResponse.java    |   3 -
 .../annotations/ConditionalDispatchMethod.java  | 112 -------------
 .../portlet/filter/PortalContextWrapper.java    | 117 ++++++++++++++
 portlet-api/src/main/javadoc/overview.html      |  35 ++++-
 portlet-api/src/main/javadoc/portlet-api.css    |   2 +
 8 files changed, 150 insertions(+), 350 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/71002263/portlet-api/src/main/java/javax/portlet/ConditionalDispatcher.java
----------------------------------------------------------------------
diff --git a/portlet-api/src/main/java/javax/portlet/ConditionalDispatcher.java b/portlet-api/src/main/java/javax/portlet/ConditionalDispatcher.java
deleted file mode 100644
index 132ee12..0000000
--- a/portlet-api/src/main/java/javax/portlet/ConditionalDispatcher.java
+++ /dev/null
@@ -1,157 +0,0 @@
-/*  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you 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 javax.portlet;
-
-import java.io.IOException;
-import java.util.List;
-import java.util.Set;
-
-/**
- * <div class="changed_added_3_0">
- * This interface provides methods to be implemented in order to implement conditional 
- * method dispatching.
- * </div>
- *
- */
-public interface ConditionalDispatcher {
-
-   /**
-    * <div class="changed_added_3_0">
-    * Called by the portlet container when an {@literal @}RenderMethod annotated 
-    * method is to be dispatched.
-    * <p>
-    * The method should analyze the given <code>Set</code> of candidate methods
using
-    * the annotations available from each <code>MethodToken</code> 
-    * based on the current request and
-    * create a list of method tokens representing the methods to be invoked. 
-    * The output list may be empty or <code>null</code>. 
-    * A given method token may appear in the output list more than once.  
-    * <p>
-    * If the method returns a non-<code>null</code> List object, the portlet
container will
-    * invoke the methods in the order they appear in the list, and then 
-    * perform no further dispatching operation for the current request.
-    * <p>
-    * If the method returns <code>null</code>, the portlet container will dispatch
the 
-    * method using its implementation-specific algorithm.
-    * <p>
-    * If the method throws an exception, it will be treated as an unhandled exception
-    * during render request processing. The portlet container will perform no 
-    * further dispatching.
-    * </div>
-    *  
-    * @param request    The render render request
-    * @param response   The render render response
-    * @param methods    A <code>Set</code> containing the 
-    *                   method tokens representing the candidate methods for this dispatch
action.
-    * @return           A list of method tokens if the dispatch has been handled. The list
may be empty.
-    *                   <code>null</code> if the portlet container is to continue
with 
-    *                   dispatching.
-    * @throws IOException        If an I/O error occurs
-    * @throws PortletException   If an unexpected condition arises
-    * 
-    * @see  MethodToken
-    * @see  javax.portlet.annotations.RenderMethod
-    */
-   public List<MethodToken> dispatch(RenderRequest request, RenderResponse response,

-                                     Set<MethodToken> methods) 
-                                     throws IOException, PortletException;
-
-   /**
-    * <div class="changed_added_3_0">
-    * Called by the portlet container when an {@literal @}HeaderMethod annotated 
-    * method is to be dispatched.
-    * <p>
-    * The method should analyze the given <code>Set</code> of candidate methods
using
-    * the annotations available from each <code>MethodToken</code> 
-    * based on the current request and
-    * create a list of method tokens representing the methods to be invoked. 
-    * The output list may be empty or <code>null</code>. 
-    * A given method token may appear in the output list more than once.  
-    * <p>
-    * If the method returns a non-<code>null</code> List object, the portlet
container will
-    * invoke the methods in the order they appear in the list, and then 
-    * perform no further dispatching operation for the current request.
-    * <p>
-    * If the method returns <code>null</code>, the portlet container will dispatch
the 
-    * method using its implementation-specific algorithm.
-    * <p>
-    * If the method throws an exception, it will be treated as an unhandled exception
-    * during header request processing. The portlet container will perform no 
-    * further dispatching.
-    * </div>
-    *  
-    * @param request    The header request
-    * @param response   The header  response
-    * @param methods    A <code>Set</code> containing the 
-    *                   method tokens representing the candidate methods for this dispatch
action.
-    * @return           A list of method tokens if the dispatch has been handled. The list
may be empty.
-    *                   <code>null</code> if the portlet container is to continue
with 
-    *                   dispatching.
-    * @throws IOException        If an I/O error occurs
-    * @throws PortletException   If an unexpected condition arises
-    * 
-    * @see  MethodToken
-    * @see  javax.portlet.annotations.HeaderMethod
-    */
-   public List<MethodToken> dispatch(HeaderRequest request,  HeaderResponse response,

-                                     Set<MethodToken> methods)
-                                     throws IOException, PortletException;
-
-   /**
-    * <div class="changed_added_3_0">
-    * Called by the portlet container when an {@literal @}ServeResourceMethod annotated 
-    * method is to be dispatched.
-    * <p>
-    * The method should analyze the given <code>Set</code> of candidate methods
using
-    * the annotations available from each <code>MethodToken</code> 
-    * based on the current request and
-    * create a list of method tokens representing the methods to be invoked. 
-    * The output list may be empty or <code>null</code>. 
-    * A given method token may appear in the output list more than once.  
-    * <p>
-    * If the method returns a non-<code>null</code> List object, the portlet
container will
-    * invoke the methods in the order they appear in the list, and then 
-    * perform no further dispatching operation for the current request.
-    * <p>
-    * If the method returns <code>null</code>, the portlet container will dispatch
the 
-    * method using its implementation-specific algorithm.
-    * <p>
-    * If the method throws an exception, it will be treated as an unhandled exception
-    * during resource request processing. The portlet container will perform no 
-    * further dispatching.
-    * </div>
-    *  
-    * @param request    The resource request
-    * @param response   The resource response
-    * @param methods    A <code>Set</code> containing the 
-    *                   method tokens representing the candidate methods for this dispatch
action.
-    * @return           A list of method tokens if the dispatch has been handled. The list
may be empty.
-    *                   <code>null</code> if the portlet container is to continue
with 
-    *                   dispatching.
-    * @throws IOException        If an I/O error occurs
-    * @throws PortletException   If an unexpected condition arises
-    * 
-    * @see  MethodToken
-    * @see  javax.portlet.annotations.ServeResourceMethod
-    */
-   public List<MethodToken> dispatch(ResourceRequest request,  ResourceResponse response,
-                                     Set<MethodToken> methods) 
-                                     throws IOException, PortletException;
-}

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/71002263/portlet-api/src/main/java/javax/portlet/MethodToken.java
----------------------------------------------------------------------
diff --git a/portlet-api/src/main/java/javax/portlet/MethodToken.java b/portlet-api/src/main/java/javax/portlet/MethodToken.java
deleted file mode 100644
index 59e4f58..0000000
--- a/portlet-api/src/main/java/javax/portlet/MethodToken.java
+++ /dev/null
@@ -1,68 +0,0 @@
-/*  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you 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 javax.portlet;
-
-import java.lang.annotation.Annotation;
-
-/**
- * <div class="changed_added_3_0">
- * Interface designating an implementation-specific token used for annotated
- * method invocation. The token represents a single candidate method for
- * conditional dispatching.
- * </div>
- *
- * @see  ConditionalDispatcher
- * @see  javax.portlet.annotations.ConditionalDispatchMethod
- */
-public interface MethodToken {
-   
-   /**
-    * <div class="changed_added_3_0">
-    * Returns the annotation on the candidate method of the given type
-    * if present, otherwise <code>null</code>.
-    * </div>
-    * 
-    * @param annotationClass     The annotation type to be returned
-    * @return                    The annotation on the candidate method of the 
-    *                            given type, otherwise <code>null</code>.
-    */
-   <A extends Annotation> A getAnnotation(Class<A> annotationClass);
-   
-   /**
-    * <div class="changed_added_3_0">
-    * Returns an array containing all annotations present on the candidate method.
-    * </div>
-    * 
-    * @return     The array of all candidate method annotations.
-    */
-   Annotation[] getAnnotations();
-   
-   /**
-    * <div class="changed_added_3_0">
-    * Returns true if an annotation of the given type is present on the candidate method,

-    * else false. 
-    * This method is designed primarily for convenient access to marker annotations.
-    * </div>
-    * 
-    * @return     <code>true</code> if the given annotation type is present
-    */
-   boolean isAnnotationPresent(Class<? extends Annotation> annotationClass);
-
-}

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/71002263/portlet-api/src/main/java/javax/portlet/PortletResponse.java
----------------------------------------------------------------------
diff --git a/portlet-api/src/main/java/javax/portlet/PortletResponse.java b/portlet-api/src/main/java/javax/portlet/PortletResponse.java
index 5d9da1e..1d110e8 100644
--- a/portlet-api/src/main/java/javax/portlet/PortletResponse.java
+++ b/portlet-api/src/main/java/javax/portlet/PortletResponse.java
@@ -214,7 +214,7 @@ public interface PortletResponse {
     * <code>addProperty(java.lang.String, java.lang.String)</code>.
     * </div>
     * 
-    * @param     name   the name of the response property whose value is to be returned
+    * @param     key   the name of the response property whose value is to be returned
     * @return           the value of the response property with the given name, or null if

     *            no property with the given name has been set on this response
     * 
@@ -235,13 +235,13 @@ public interface PortletResponse {
     * response.
     * </div>
     * 
-    * @param     name   the name of the response property whose values are to be returned
+    * @param     key   the name of the response property whose values are to be returned
     * @return           the values of the response property with the given name, or an empty
collection if 
     *            no property with the given name has been set on this response
     * 
     * @since 3.0
     */
-   Collection<String> getPropertyValues(String name);
+   Collection<String> getPropertyValues(String key);
 
    
    /**

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/71002263/portlet-api/src/main/java/javax/portlet/ResourceResponse.java
----------------------------------------------------------------------
diff --git a/portlet-api/src/main/java/javax/portlet/ResourceResponse.java b/portlet-api/src/main/java/javax/portlet/ResourceResponse.java
index 04d61ff..e90e8b4 100644
--- a/portlet-api/src/main/java/javax/portlet/ResourceResponse.java
+++ b/portlet-api/src/main/java/javax/portlet/ResourceResponse.java
@@ -163,9 +163,6 @@ public interface ResourceResponse extends MimeResponse {
      * 
      * @param len a <code>long</code> specifying the length of the content being
returned; sets the Content-Length header
      * 
-     * @see javax.servlet.http.HttpServletResponse
-     * @see javax.servlet.http.HttpServletResponse#setContentLengthLong
-     * 
      * @since 3.0
      */
     public void setContentLengthLong(long len);

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/71002263/portlet-api/src/main/java/javax/portlet/annotations/ConditionalDispatchMethod.java
----------------------------------------------------------------------
diff --git a/portlet-api/src/main/java/javax/portlet/annotations/ConditionalDispatchMethod.java
b/portlet-api/src/main/java/javax/portlet/annotations/ConditionalDispatchMethod.java
deleted file mode 100644
index 0296c4d..0000000
--- a/portlet-api/src/main/java/javax/portlet/annotations/ConditionalDispatchMethod.java
+++ /dev/null
@@ -1,112 +0,0 @@
-/*  Licensed to the Apache Software Foundation (ASF) under one
- *  or more contributor license agreements.  See the NOTICE file
- *  distributed with this work for additional information
- *  regarding copyright ownership.  The ASF licenses this file
- *  to you 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.
- */
-
-/*
- * This source code implements specifications defined by the Java
- * Community Process. In order to remain compliant with the specification
- * DO NOT add / change / or delete method signatures!
- */
-package javax.portlet.annotations;
-
-
-import java.lang.annotation.Retention;
-import java.lang.annotation.Target;
-
-import static java.lang.annotation.ElementType.*;
-import static java.lang.annotation.RetentionPolicy.*;
-
-
-/**
- * <div class='changed_added_3_0'>
- * Designates a conditional dispatcher method.
- * The portlet container will invoke the annotated method when it determines 
- * that <code>@RenderMethod</code>, <code>@HeaderMethod</code>, or

- * <code>@ServeResourceMethod</code> annotated methods
- * are available for dispatching during request processing.
- * <p>
- * The annotated method must have one of the following signatures:
- * <p>
- *    <code>public boolean &lt;methodName&gt;(RenderRequest request, RenderResponse
response, 
- *                Set<MethodToken> methods)</code>
- * <p>   
- *    <code>public boolean &lt;methodName&gt;(HeaderRequest request, HeaderResponse
response, 
- *                Set<MethodToken> methods)</code>
- * <p>   
- *    <code>public boolean &lt;methodName&gt;(ResourceRequest request, ResourceResponse
response, 
- *                Set<MethodToken> methods)</code>
- * <p>   
- * where the method name can be freely selected.
- * <p>
- * For a given portlet name, only a single method of each type may be annotated. 
- * If a conditional dispatcher is declared in the portlet deployment descriptor, that
- * declaration overrides any <code>@ConditionalDispatchMethod</code> annotation.
- * <p>
- * The method should analyze the given <code>Set</code> of candidate methods
using
- * the annotations available from each <code>MethodToken</code> 
- * based on the current request and
- * create a list of method tokens representing the methods to be invoked. 
- * The output list may be empty or <code>null</code>. 
- * A given method token may appear in the output list more than once.  
- * <p>
- * If the method returns a non-<code>null</code> List object, the portlet container
will
- * invoke the methods in the order they appear in the list, and then 
- * perform no further dispatching operation for the current request.
- * <p>
- * If the method returns <code>null</code>, the portlet container will dispatch
the 
- * method using its implementation-specific algorithm.
- * <p>
- * If the method throws an exception, it will be treated as an unhandled exception
- * during request processing. The portlet container will perform no 
- * further dispatching.
- * <p>
- * The method declaration may contain a throws clause. Exceptions declared in the 
- * throws clause should be of type {@link javax.portlet.PortletException} or
- * {@link java.io.IOException}. 
- * If the <code>throws</code> clause defines exceptions of any other type, 
- * it will be treated as a configuration error. 
- * </div>
- *    
- * @see RenderMethod
- * @see HeaderMethod
- * @see ServeResourceMethod
- * @see javax.portlet.ConditionalDispatcher
- * @see javax.portlet.MethodToken
- *
- */
-
-@Retention(RUNTIME) @Target({METHOD})
-public @interface ConditionalDispatchMethod {
-   
-   /**
-    * <div class="changed_added_3_0">
-    * The portlet names for which the conditional dispatcher applies.
-    * <p>
-    * The annotated method can apply to multiple portlets within the portlet
-    * application. The names of the portlets to which the listener applies must be 
-    * specified in this field.
-    * <p>
-    * A wildcard character '*' can be specified in the first portletName array element 
-    * to indicate that the listener is to apply to all portlets in the portlet application.
-    * If specified, the wildcard character must appear alone in the first array element.
-    * This is the default if no portlet names are explicitly provided.
-    * </div>
-    * 
-    * @return     The portlet names
-    */
-   String[]    portletNames() default "*";
-}

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/71002263/portlet-api/src/main/java/javax/portlet/filter/PortalContextWrapper.java
----------------------------------------------------------------------
diff --git a/portlet-api/src/main/java/javax/portlet/filter/PortalContextWrapper.java b/portlet-api/src/main/java/javax/portlet/filter/PortalContextWrapper.java
new file mode 100644
index 0000000..f29632f
--- /dev/null
+++ b/portlet-api/src/main/java/javax/portlet/filter/PortalContextWrapper.java
@@ -0,0 +1,117 @@
+/*  Licensed to the Apache Software Foundation (ASF) under one
+ *  or more contributor license agreements.  See the NOTICE file
+ *  distributed with this work for additional information
+ *  regarding copyright ownership.  The ASF licenses this file
+ *  to you 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 javax.portlet.filter;
+
+import java.util.Enumeration;
+
+import javax.portlet.PortalContext;
+import javax.portlet.PortletMode;
+import javax.portlet.WindowState;
+
+/**
+ * <div class="changed_added_3_0">
+ * The <code>PortalContextWrapper</code> provides a convenient 
+ * implementation of the <code>PortalContext</code> interface 
+ * that can be subclassed by developers.
+ * This class implements the Wrapper or Decorator pattern. 
+ * Methods default to calling through to the wrapped object.
+ * </div>
+ * 
+ * @author Scott Nicklous
+ *
+ */
+public class PortalContextWrapper implements PortalContext {
+   
+   protected PortalContext wrapped;
+   
+   /**
+    */
+   public PortalContextWrapper(PortalContext wrapped) {
+      if (wrapped == null) {
+         throw new java.lang.IllegalArgumentException("Object to wrap is null");
+      }
+      this.wrapped = wrapped;
+   }
+   
+
+   /**
+    * Gets the wrapped object.
+    * 
+    * @return the wrapped object.
+    */
+   public PortalContext getWrapped() {
+      return wrapped;
+   }
+
+
+   /**
+    * Sets the wrapped object.
+    * 
+    * @param wrapped   the wrapped object to set.
+    * @throws java.lang.IllegalArgumentException   if the request is null.
+    */
+   public void setWrapped(PortalContext wrapped) {
+      if (wrapped == null) {
+         throw new java.lang.IllegalArgumentException("Object to wrap is null");
+      }
+     this.wrapped = wrapped;
+   }
+
+   /* (non-Javadoc)
+    * @see javax.portlet.PortalContext#getProperty(java.lang.String)
+    */
+   @Override
+   public String getProperty(String name) {
+      return wrapped.getProperty(name);
+   }
+
+   /* (non-Javadoc)
+    * @see javax.portlet.PortalContext#getPropertyNames()
+    */
+   @Override
+   public Enumeration<String> getPropertyNames() {
+      return wrapped.getPropertyNames();
+   }
+
+   /* (non-Javadoc)
+    * @see javax.portlet.PortalContext#getSupportedPortletModes()
+    */
+   @Override
+   public Enumeration<PortletMode> getSupportedPortletModes() {
+      return wrapped.getSupportedPortletModes();
+   }
+
+   /* (non-Javadoc)
+    * @see javax.portlet.PortalContext#getSupportedWindowStates()
+    */
+   @Override
+   public Enumeration<WindowState> getSupportedWindowStates() {
+      return wrapped.getSupportedWindowStates();
+   }
+
+   /* (non-Javadoc)
+    * @see javax.portlet.PortalContext#getPortalInfo()
+    */
+   @Override
+   public String getPortalInfo() {
+      return wrapped.getPortalInfo();
+   }
+
+}

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/71002263/portlet-api/src/main/javadoc/overview.html
----------------------------------------------------------------------
diff --git a/portlet-api/src/main/javadoc/overview.html b/portlet-api/src/main/javadoc/overview.html
index 661cb10..c5fb62c 100644
--- a/portlet-api/src/main/javadoc/overview.html
+++ b/portlet-api/src/main/javadoc/overview.html
@@ -21,6 +21,32 @@
     <div class="indexContainer-not">
     <ul>
     <li>
+    20160128:
+    Added a new PortalContext wrapper class according to 
+    <a href="https://java.net/jira/browse/PORTLETSPEC3-62">PORTLETSPEC3-62</a>:
+    {@link javax.portlet.filter.PortalContextWrapper PortalContextWrapper}.
+    Removed the annotation ConditionalDispatchMethod along with the associated interfaces
+    MethodToken and ConditionalDispatcher, as they will not be included in the V3 specification.
+    </li>
+    <li>
+    20160126:
+    Added new PortletContext methods according to 
+    <a href="https://java.net/jira/browse/PORTLETSPEC3-53">PORTLETSPEC3-53</a>:
+    {@link javax.portlet.PortletContext#getClassLoader() getClassLoader},
+    {@link javax.portlet.PortletContext#getContextPath() getContextPath},
+    {@link javax.portlet.PortletContext#getEffectiveMajorVersion() getEffectiveMajorVersion},
and
+    {@link javax.portlet.PortletContext#getEffectiveMinorVersion() getEffectiveMinorVersion}.
+    Added new PortletResponse methods according to 
+    <a href="https://java.net/jira/browse/PORTLETSPEC3-60">PORTLETSPEC3-60</a>:
+    {@link javax.portlet.PortletResponse#getProperty(String) getProperty},
+    {@link javax.portlet.PortletResponse#getPropertyNames() getPropertyNames}, and
+    {@link javax.portlet.PortletResponse#getPropertyValues(String) getPropertyValues}.
+    Added new ResourceResponse methods according to 
+    <a href="https://java.net/jira/browse/PORTLETSPEC3-60">PORTLETSPEC3-60</a>:
+    {@link javax.portlet.ResourceResponse#setContentLengthLong(long) setContentLengthLong}
and
+    {@link javax.portlet.ResourceResponse#getStatus() getStatus}.
+    </li>
+    <li>
     20160125:
     Added clarification to 
     {@link javax.portlet.PortletResponse PortletResponse} addProperty and setProperty 
@@ -51,10 +77,7 @@
     <li>
     20151005: 
     Added annotations and interfaces for conditional dispatching: 
-    {@link javax.portlet.ConditionalDispatcher ConditionalDispatcher},
-    {@link javax.portlet.MethodToken MethodToken},
-    and 
-    {@link javax.portlet.annotations.ConditionalDispatchMethod ConditionalDispatchMethod}.
+    ConditionalDispatcher, MethodToken, and ConditionalDispatchMethod.
     Updated 
     {@link javax.portlet.annotations.HeaderMethod HeaderMethod}, 
     {@link javax.portlet.annotations.RenderMethod RenderMethod}, and 
@@ -97,9 +120,7 @@
     20150922: 
     Added interfaces and annotations for conditional dispatching.
     Added classes:
-    {@link javax.portlet.MethodToken},
-    {@link javax.portlet.ConditionalDispatcher}, and
-    {@link javax.portlet.annotations.ConditionalDispatchMethod}.
+    MethodToken, ConditionalDispatcher, and ConditionalDispatchMethod.
     </li>
     <li>
     20150921: Modified annotation classes to conform to latest spec draft.

http://git-wip-us.apache.org/repos/asf/portals-pluto/blob/71002263/portlet-api/src/main/javadoc/portlet-api.css
----------------------------------------------------------------------
diff --git a/portlet-api/src/main/javadoc/portlet-api.css b/portlet-api/src/main/javadoc/portlet-api.css
index 0861e7e..8d52fce 100644
--- a/portlet-api/src/main/javadoc/portlet-api.css
+++ b/portlet-api/src/main/javadoc/portlet-api.css
@@ -511,6 +511,7 @@ h1.hidden {
 
 .indexContainer a[href*="BaseURL.html"],
 .indexContainer a[href*="PortletConfig.html"],
+.indexContainer a[href*="PortletContext.html"],
 .indexContainer a[href*="PortletPreferences.html"],
 .indexContainer a[href*="GenericPortlet.html"],
 .indexContainer a[href*="ActionRequest.html"],
@@ -616,6 +617,7 @@ h1.hidden {
 .indexContainer a[href*="MutableRenderParametersWrapper.html"],
 .indexContainer a[href*="MutableResourceParametersWrapper.html"],
 .indexContainer a[href*="PortletConfigWrapper.html"],
+.indexContainer a[href*="PortalContextWrapper.html"],
 .indexContainer a[href*="PortletContextWrapper.html"],
 .indexContainer a[href*="PortletParametersWrapper.html"],
 .indexContainer a[href*="PortletRequestDispatcherWrapper.html"],


Mime
View raw message