1 5 package org.exoplatform.test.mocks.portlet; 6 7 import javax.portlet.ActionRequest; 8 9 16 public class MockActionRequest extends MockPortletRequest implements ActionRequest { 17 18 public MockActionRequest() { 19 super(); 20 } 21 22 public java.io.InputStream getPortletInputStream () throws java.io.IOException { 23 return null ; 24 } 25 26 27 public void setCharacterEncoding(String enc) throws java.io.UnsupportedEncodingException { 28 29 } 30 31 public java.io.BufferedReader getReader() throws java.io.UnsupportedEncodingException , java.io.IOException { 32 return null ; 33 } 34 35 public java.lang.String getCharacterEncoding() { 36 return "default" ; 37 } 38 39 public java.lang.String getContentType() { 40 return "txt/html" ; 41 } 42 43 public int getContentLength() { 44 return 0 ; 45 } 46 } | Popular Tags |