Clover coverage report - Code Coverage for tapestry-portlet release 4.0.1
Coverage timestamp: Fri Mar 31 2006 09:14:58 EST
file stats: LOC: 211   Methods: 42
NCLOC: 147   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
ActionRequestWrapper.java - 0% 0% 0%
coverage
 1    // Copyright 2006 The Apache Software Foundation
 2    //
 3    // Licensed under the Apache License, Version 2.0 (the "License");
 4    // you may not use this file except in compliance with the License.
 5    // You may obtain a copy of the License at
 6    //
 7    // http://www.apache.org/licenses/LICENSE-2.0
 8    //
 9    // Unless required by applicable law or agreed to in writing, software
 10    // distributed under the License is distributed on an "AS IS" BASIS,
 11    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 12    // See the License for the specific language governing permissions and
 13    // limitations under the License.
 14    package org.apache.tapestry.portlet.multipart;
 15   
 16    import java.io.BufferedReader;
 17    import java.io.IOException;
 18    import java.io.InputStream;
 19    import java.io.UnsupportedEncodingException;
 20    import java.security.Principal;
 21    import java.util.Enumeration;
 22    import java.util.Locale;
 23    import java.util.Map;
 24   
 25    import javax.portlet.ActionRequest;
 26    import javax.portlet.PortalContext;
 27    import javax.portlet.PortletMode;
 28    import javax.portlet.PortletPreferences;
 29    import javax.portlet.PortletSession;
 30    import javax.portlet.WindowState;
 31   
 32    /**
 33    * @author Raphael Jean
 34    *
 35    */
 36    public class ActionRequestWrapper extends Object implements ActionRequest
 37    {
 38    private ActionRequest wrapped;
 39   
 40  0 public ActionRequestWrapper(ActionRequest request)
 41    {
 42  0 wrapped = request;
 43    }
 44   
 45  0 public InputStream getPortletInputStream() throws IOException {
 46  0 return wrapped.getPortletInputStream();
 47    }
 48   
 49  0 public void setCharacterEncoding(String arg0)
 50    throws UnsupportedEncodingException {
 51  0 wrapped.setCharacterEncoding(arg0);
 52    }
 53   
 54  0 public BufferedReader getReader() throws UnsupportedEncodingException,
 55    IOException {
 56  0 return wrapped.getReader();
 57    }
 58   
 59  0 public String getCharacterEncoding() {
 60  0 return wrapped.getCharacterEncoding();
 61    }
 62   
 63  0 public String getContentType() {
 64  0 return wrapped.getContentType();
 65    }
 66   
 67  0 public int getContentLength() {
 68  0 return wrapped.getContentLength();
 69    }
 70   
 71  0 public boolean isWindowStateAllowed(WindowState arg0) {
 72  0 return wrapped.isWindowStateAllowed(arg0);
 73    }
 74   
 75  0 public boolean isPortletModeAllowed(PortletMode arg0) {
 76  0 return wrapped.isPortletModeAllowed(arg0);
 77    }
 78   
 79  0 public PortletMode getPortletMode() {
 80  0 return wrapped.getPortletMode();
 81    }
 82   
 83  0 public WindowState getWindowState() {
 84  0 return wrapped.getWindowState();
 85    }
 86   
 87  0 public PortletPreferences getPreferences() {
 88  0 return wrapped.getPreferences();
 89    }
 90   
 91  0 public PortletSession getPortletSession() {
 92  0 return wrapped.getPortletSession();
 93    }
 94   
 95  0 public PortletSession getPortletSession(boolean arg0) {
 96  0 return wrapped.getPortletSession(arg0);
 97    }
 98   
 99  0 public String getProperty(String arg0) {
 100  0 return wrapped.getProperty(arg0);
 101    }
 102   
 103  0 public Enumeration getProperties(String arg0) {
 104  0 return wrapped.getProperties(arg0);
 105    }
 106   
 107  0 public Enumeration getPropertyNames() {
 108  0 return wrapped.getPropertyNames();
 109    }
 110   
 111  0 public PortalContext getPortalContext() {
 112  0 return wrapped.getPortalContext();
 113    }
 114   
 115  0 public String getAuthType() {
 116  0 return wrapped.getAuthType();
 117    }
 118   
 119  0 public String getContextPath() {
 120  0 return wrapped.getContextPath();
 121    }
 122   
 123  0 public String getRemoteUser() {
 124  0 return wrapped.getRemoteUser();
 125    }
 126   
 127  0 public Principal getUserPrincipal() {
 128  0 return wrapped.getUserPrincipal();
 129    }
 130   
 131  0 public boolean isUserInRole(String arg0) {
 132  0 return wrapped.isUserInRole(arg0);
 133    }
 134   
 135  0 public Object getAttribute(String arg0) {
 136  0 return wrapped.getAttribute(arg0);
 137    }
 138   
 139  0 public Enumeration getAttributeNames() {
 140  0 return wrapped.getAttributeNames();
 141    }
 142   
 143  0 public String getParameter(String arg0) {
 144  0 return wrapped.getParameter(arg0);
 145    }
 146   
 147  0 public Enumeration getParameterNames() {
 148  0 return wrapped.getParameterNames();
 149    }
 150   
 151  0 public String[] getParameterValues(String arg0) {
 152  0 return wrapped.getParameterValues(arg0);
 153    }
 154   
 155  0 public Map getParameterMap() {
 156  0 return wrapped.getParameterMap();
 157    }
 158   
 159  0 public boolean isSecure() {
 160  0 return wrapped.isSecure();
 161    }
 162   
 163  0 public void setAttribute(String arg0, Object arg1) {
 164  0 wrapped.setAttribute(arg0, arg1);
 165    }
 166   
 167  0 public void removeAttribute(String arg0) {
 168  0 wrapped.removeAttribute(arg0);
 169    }
 170   
 171  0 public String getRequestedSessionId() {
 172  0 return wrapped.getRequestedSessionId();
 173    }
 174   
 175  0 public boolean isRequestedSessionIdValid() {
 176  0 return wrapped.isRequestedSessionIdValid();
 177    }
 178   
 179  0 public String getResponseContentType() {
 180  0 return wrapped.getResponseContentType();
 181    }
 182   
 183  0 public Enumeration getResponseContentTypes() {
 184  0 return wrapped.getResponseContentTypes();
 185    }
 186   
 187  0 public Locale getLocale() {
 188  0 return wrapped.getLocale();
 189    }
 190   
 191  0 public Enumeration getLocales() {
 192  0 return wrapped.getLocales();
 193    }
 194   
 195  0 public String getScheme() {
 196  0 return wrapped.getScheme();
 197    }
 198   
 199  0 public String getServerName() {
 200  0 return wrapped.getServerName();
 201    }
 202   
 203  0 public int getServerPort() {
 204  0 return wrapped.getServerPort();
 205    }
 206   
 207  0 protected ActionRequest getRequest() {
 208  0 return wrapped;
 209    }
 210   
 211    }