Return-Path: Delivered-To: apmail-incubator-sling-commits-archive@locus.apache.org Received: (qmail 7721 invoked from network); 6 Dec 2007 14:21:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Dec 2007 14:21:54 -0000 Received: (qmail 34106 invoked by uid 500); 6 Dec 2007 14:21:42 -0000 Delivered-To: apmail-incubator-sling-commits-archive@incubator.apache.org Received: (qmail 34080 invoked by uid 500); 6 Dec 2007 14:21:42 -0000 Mailing-List: contact sling-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: sling-dev@incubator.apache.org Delivered-To: mailing list sling-commits@incubator.apache.org Received: (qmail 34071 invoked by uid 99); 6 Dec 2007 14:21:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Dec 2007 06:21:42 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Dec 2007 14:21:41 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 4985D1A9838; Thu, 6 Dec 2007 06:21:19 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r601743 - in /incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl: ./ auth/ filter/ log/ parameters/ Date: Thu, 06 Dec 2007 14:21:17 -0000 To: sling-commits@incubator.apache.org From: cziegeler@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071206142119.4985D1A9838@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: cziegeler Date: Thu Dec 6 06:21:16 2007 New Revision: 601743 URL: http://svn.apache.org/viewvc?rev=601743&view=rev Log: More javadoc fixes. Modified: incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/SlingHttpServletRequestImpl.java incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/auth/AuthorizationHeaderAuthenticationHandler.java incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/auth/SlingAuthenticator.java incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/filter/AbstractSlingFilterChain.java incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/filter/LocaleResolverFilter.java incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/filter/ThemeResolverFilter.java incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/log/RequestLoggerFilter.java incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/parameters/EncodedRequestParameter.java incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/parameters/MultipartPostParameter.java Modified: incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/SlingHttpServletRequestImpl.java URL: http://svn.apache.org/viewvc/incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/SlingHttpServletRequestImpl.java?rev=601743&r1=601742&r2=601743&view=diff ============================================================================== --- incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/SlingHttpServletRequestImpl.java (original) +++ incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/SlingHttpServletRequestImpl.java Thu Dec 6 06:21:16 2007 @@ -33,6 +33,7 @@ import javax.servlet.http.Cookie; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletRequestWrapper; + import org.apache.sling.api.SlingHttpServletRequest; import org.apache.sling.api.request.RequestDispatcherOptions; import org.apache.sling.api.request.RequestParameter; @@ -88,7 +89,7 @@ } /** - * @see org.apache.sling.core.component.ComponentRequest#getRequestDispatcher(org.apache.sling.core.component.Content) + * @see org.apache.sling.api.SlingHttpServletRequest#getRequestDispatcher(org.apache.sling.api.resource.Resource) */ public RequestDispatcher getRequestDispatcher(Resource resource) { return getRequestDispatcher(resource, null); @@ -144,28 +145,28 @@ } /** - * @see org.apache.sling.core.component.ComponentRequest#getRequestParameter(java.lang.String) + * @see org.apache.sling.api.SlingHttpServletRequest#getRequestParameter(java.lang.String) */ public RequestParameter getRequestParameter(String name) { return this.getParameterSupport().getRequestParameter(name); } /** - * @see org.apache.sling.core.component.ComponentRequest#getRequestParameters(java.lang.String) + * @see org.apache.sling.api.SlingHttpServletRequest#getRequestParameters(java.lang.String) */ public RequestParameter[] getRequestParameters(String name) { return this.getParameterSupport().getRequestParameters(name); } /** - * @see org.apache.sling.core.component.ComponentRequest#getRequestParameterMap() + * @see org.apache.sling.api.SlingHttpServletRequest#getRequestParameterMap() */ public RequestParameterMap getRequestParameterMap() { return this.getParameterSupport().getRequestParameterMap(); } /** - * @see org.apache.sling.core.component.ComponentRequest#getCookie(java.lang.String) + * @see org.apache.sling.api.SlingHttpServletRequest#getCookie(java.lang.String) */ public Cookie getCookie(String name) { Cookie[] cookies = getCookies(); @@ -181,12 +182,15 @@ return null; } + /** + * @see org.apache.sling.api.SlingHttpServletRequest#getRequestPathInfo() + */ public RequestPathInfo getRequestPathInfo() { return getRequestData().getContentData().getRequestPathInfo(); } /** - * @see org.apache.sling.core.component.ComponentRequest#getResourceBundle(java.util.Locale) + * @see org.apache.sling.api.SlingHttpServletRequest#getResourceBundle(java.util.Locale) */ public ResourceBundle getResourceBundle(Locale locale) { // TODO should use our resource bundle !! @@ -194,7 +198,7 @@ } /** - * @see org.apache.sling.core.component.ComponentRequest#getResponseContentType() + * @see org.apache.sling.api.SlingHttpServletRequest#getResponseContentType() */ public String getResponseContentType() { // TODO Auto-generated method stub @@ -202,7 +206,7 @@ } /** - * @see org.apache.sling.core.component.ComponentRequest#getResponseContentTypes() + * @see org.apache.sling.api.SlingHttpServletRequest#getResponseContentTypes() */ @SuppressWarnings("unchecked") public Enumeration getResponseContentTypes() { Modified: incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/auth/AuthorizationHeaderAuthenticationHandler.java URL: http://svn.apache.org/viewvc/incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/auth/AuthorizationHeaderAuthenticationHandler.java?rev=601743&r1=601742&r2=601743&view=diff ============================================================================== --- incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/auth/AuthorizationHeaderAuthenticationHandler.java (original) +++ incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/auth/AuthorizationHeaderAuthenticationHandler.java Thu Dec 6 06:21:16 2007 @@ -87,7 +87,7 @@ * null * no user details were contained in the request * - * {@link #DOING_AUTH} + * {@link AuthenticationInfo#DOING_AUTH} * the handler is in an ongoing authentication exchange with the * client. The request handling is terminated. * Modified: incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/auth/SlingAuthenticator.java URL: http://svn.apache.org/viewvc/incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/auth/SlingAuthenticator.java?rev=601743&r1=601742&r2=601743&view=diff ============================================================================== --- incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/auth/SlingAuthenticator.java (original) +++ incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/auth/SlingAuthenticator.java Thu Dec 6 06:21:16 2007 @@ -45,6 +45,8 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import sun.security.krb5.internal.Ticket; + /** * The SlingAuthenticator class is the default implementation of * the {@link SlingAuthenticator} interface. This class supports : @@ -271,8 +273,8 @@ * Any response sent by the handler is also handled by the error handler * infrastructure. * - * @param req The request object - * @param res The response object to which to send the request + * @param request The request object + * @param response The response object to which to send the request */ public void requestAuthentication(HttpServletRequest request, HttpServletResponse response) { Modified: incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/filter/AbstractSlingFilterChain.java URL: http://svn.apache.org/viewvc/incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/filter/AbstractSlingFilterChain.java?rev=601743&r1=601742&r2=601743&view=diff ============================================================================== --- incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/filter/AbstractSlingFilterChain.java (original) +++ incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/filter/AbstractSlingFilterChain.java Thu Dec 6 06:21:16 2007 @@ -38,8 +38,7 @@ } /** - * @see org.apache.sling.core.component.ComponentFilterChain#doFilter(org.apache.sling.core.component.ComponentRequest, - * org.apache.sling.core.component.ComponentResponse) + * @see javax.servlet.FilterChain#doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse) */ public void doFilter(ServletRequest request, ServletResponse response) throws ServletException, IOException { Modified: incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/filter/LocaleResolverFilter.java URL: http://svn.apache.org/viewvc/incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/filter/LocaleResolverFilter.java?rev=601743&r1=601742&r2=601743&view=diff ============================================================================== --- incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/filter/LocaleResolverFilter.java (original) +++ incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/filter/LocaleResolverFilter.java Thu Dec 6 06:21:16 2007 @@ -58,9 +58,7 @@ private Locale defaultLocale; /** - * @see org.apache.sling.core.component.ComponentFilter#doFilter(org.apache.sling.core.component.ComponentRequest, - * org.apache.sling.core.component.ComponentResponse, - * org.apache.sling.core.component.ComponentFilterChain) + * @see javax.servlet.Filter#doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse, javax.servlet.FilterChain) */ public void doFilter(ServletRequest request, ServletResponse response, FilterChain filterChain) throws IOException, ServletException { Modified: incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/filter/ThemeResolverFilter.java URL: http://svn.apache.org/viewvc/incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/filter/ThemeResolverFilter.java?rev=601743&r1=601742&r2=601743&view=diff ============================================================================== --- incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/filter/ThemeResolverFilter.java (original) +++ incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/filter/ThemeResolverFilter.java Thu Dec 6 06:21:16 2007 @@ -59,7 +59,7 @@ private ThemeResolver themeResolver; /** - * Calls the {@link ThemeResolver#resolveTheme(RenderRequest)} method if a + * Calls the {@link ThemeResolver#resolveTheme(ServletRequest)} method if a * theme resolver is assigned to set the {@link Theme} for the current * request. If no theme resolver is assigned, this method just forwards the * request to the next filter. Modified: incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/log/RequestLoggerFilter.java URL: http://svn.apache.org/viewvc/incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/log/RequestLoggerFilter.java?rev=601743&r1=601742&r2=601743&view=diff ============================================================================== --- incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/log/RequestLoggerFilter.java (original) +++ incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/log/RequestLoggerFilter.java Thu Dec 6 06:21:16 2007 @@ -156,7 +156,7 @@ * configuration has already been done by the * {@link #activate(org.osgi.service.component.ComponentContext)} method. * - * @param context Not used. + * @param config Not used. */ public void init(FilterConfig config) { } @@ -174,15 +174,15 @@ *
  • Calls loggers configured to be used at request exit time.
  • * * - * @param request The ComponentRequest representing the + * @param sRequest The ServletRequest representing the * request input sent from the client. - * @param response The ComponentResponse representing the + * @param response The ServletResponse representing the * response to be sent back to the client. - * @param filterChain The ComponentFilterChain used to + * @param filterChain The FilterChain used to * forward the request on to the next filter. * @throws IOException Forwarded if thrown by any filter in the chain or by * the Component called to handle the request. - * @throws ComponentException Forwarded if thrown by any filter in the chain + * @throws ServletException Forwarded if thrown by any filter in the chain * or by the Component called to handle the request. */ public void doFilter(ServletRequest sRequest, ServletResponse response, Modified: incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/parameters/EncodedRequestParameter.java URL: http://svn.apache.org/viewvc/incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/parameters/EncodedRequestParameter.java?rev=601743&r1=601742&r2=601743&view=diff ============================================================================== --- incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/parameters/EncodedRequestParameter.java (original) +++ incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/parameters/EncodedRequestParameter.java Thu Dec 6 06:21:16 2007 @@ -41,14 +41,14 @@ } /** - * @see org.apache.sling.core.component.RequestParameter#get() + * @see org.apache.sling.api.request.RequestParameter#get() */ public byte[] get() { return this.content; } /** - * @see org.apache.sling.core.component.RequestParameter#getContentType() + * @see org.apache.sling.api.request.RequestParameter#getContentType() */ public String getContentType() { // none known for www-form-encoded parameters @@ -56,14 +56,14 @@ } /** - * @see org.apache.sling.core.component.RequestParameter#getInputStream() + * @see org.apache.sling.api.request.RequestParameter#getInputStream() */ public InputStream getInputStream() { return new ByteArrayInputStream(this.get()); } /** - * @see org.apache.sling.core.component.RequestParameter#getFileName() + * @see org.apache.sling.api.request.RequestParameter#getFileName() */ public String getFileName() { // no original file name @@ -71,28 +71,28 @@ } /** - * @see org.apache.sling.core.component.RequestParameter#getSize() + * @see org.apache.sling.api.request.RequestParameter#getSize() */ public long getSize() { return this.get().length; } /** - * @see org.apache.sling.core.component.RequestParameter#getString() + * @see org.apache.sling.api.request.RequestParameter#getString() */ public String getString() { return this.getEncodedString(); } /** - * @see org.apache.sling.core.component.RequestParameter#getString(java.lang.String) + * @see org.apache.sling.api.request.RequestParameter#getString(java.lang.String) */ public String getString(String encoding) throws UnsupportedEncodingException { return new String(this.get(), encoding); } /** - * @see org.apache.sling.core.component.RequestParameter#isFormField() + * @see org.apache.sling.api.request.RequestParameter#isFormField() */ public boolean isFormField() { // www-form-encoded are always form fields Modified: incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/parameters/MultipartPostParameter.java URL: http://svn.apache.org/viewvc/incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/parameters/MultipartPostParameter.java?rev=601743&r1=601742&r2=601743&view=diff ============================================================================== --- incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/parameters/MultipartPostParameter.java (original) +++ incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/parameters/MultipartPostParameter.java Thu Dec 6 06:21:16 2007 @@ -45,28 +45,28 @@ } /** - * @see org.apache.sling.core.component.RequestParameter#get() + * @see org.apache.sling.api.request.RequestParameter#get() */ public byte[] get() { return this.delegatee.get(); } /** - * @see org.apache.sling.core.component.RequestParameter#getContentType() + * @see org.apache.sling.api.request.RequestParameter#getContentType() */ public String getContentType() { return this.delegatee.getContentType(); } /** - * @see org.apache.sling.core.component.RequestParameter#getInputStream() + * @see org.apache.sling.api.request.RequestParameter#getInputStream() */ public InputStream getInputStream() throws IOException { return this.delegatee.getInputStream(); } /** - * @see org.apache.sling.core.component.RequestParameter#getFileName() + * @see org.apache.sling.api.request.RequestParameter#getFileName() */ public String getFileName() { if (this.encodedFileName == null && this.delegatee.getName() != null) { @@ -86,14 +86,14 @@ } /** - * @see org.apache.sling.core.component.RequestParameter#getSize() + * @see org.apache.sling.api.request.RequestParameter#getSize() */ public long getSize() { return this.delegatee.getSize(); } /** - * @see org.apache.sling.core.component.RequestParameter#getString() + * @see org.apache.sling.api.request.RequestParameter#getString() */ public String getString() { // only apply encoding in the case of a form field @@ -118,14 +118,14 @@ } /** - * @see org.apache.sling.core.component.RequestParameter#getString(java.lang.String) + * @see org.apache.sling.api.request.RequestParameter#getString(java.lang.String) */ public String getString(String enc) throws UnsupportedEncodingException { return this.delegatee.getString(enc); } /** - * @see org.apache.sling.core.component.RequestParameter#isFormField() + * @see org.apache.sling.api.request.RequestParameter#isFormField() */ public boolean isFormField() { return this.delegatee.isFormField();