/*
 * See the NOTICE file distributed with this work for additional
 * information regarding copyright ownership.
 *
 * This is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as
 * published by the Free Software Foundation; either version 2.1 of
 * the License, or (at your option) any later version.
 *
 * This software is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this software; if not, write to the Free
 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
 * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
 *
 */

package com.xpn.xwiki.web;

import com.xpn.xwiki.util.Util;

import javax.portlet.ActionRequest;
import javax.portlet.RenderRequest;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.Cookie;

public interface XWikiRequest extends HttpServletRequest, RenderRequest, ActionRequest {
    public String get(String name);
    public HttpServletRequest getHttpServletRequest();
    public Cookie getCookie(String cookieName);
}

@@ -946,43 +946,8 @@
 %0D%0A%0D%0A
-import com.xpn.xwiki.util.Util;%0D%0A%0D%0A
 impo
@@ -1008,32 +1008,67 @@
 RenderRequest;%0D%0A
+import javax.servlet.http.Cookie;%0D%0A
 import javax.ser
@@ -1101,43 +1101,8 @@
 st;%0D
-%0Aimport javax.servlet.http.Cookie;%0D
 %0A%0D%0Ap
@@ -1186,17 +1186,18 @@
 nRequest
- 
+%0D%0A
 %7B%0D%0A    p
@@ -1224,24 +1224,26 @@
 ing name);%0D%0A
+%0D%0A
     public H
@@ -1286,16 +1286,18 @@
 est();%0D%0A
+%0D%0A
     publ

Apply codestyle