/** * Retrieve the input stream for the request. * * @return The input stream for the request. * * @throws IOException if a problem occurs. */ @Override public InputStream getInputStream() throws IOException { return request.getPortletInputStream(); }
/** * Retrieve the input stream for the request. * * @return The input stream for the request. * * @throws IOException if a problem occurs. */ public InputStream getInputStream() throws IOException { return request.getPortletInputStream(); }
/** * @see javax.portlet.ActionRequest#getPortletInputStream() */ public InputStream getPortletInputStream() throws IOException { return request.getPortletInputStream(); }
/** * Retrieve the input stream for the request. * * @return The input stream for the request. * * @throws IOException if a problem occurs. */ public InputStream getInputStream() throws IOException { return request.getPortletInputStream(); }
public InputStream getPortletInputStream() throws IOException { if (request instanceof ActionRequest) return ((ActionRequest)request).getPortletInputStream(); return null; }
/** * Retrieve the input stream for the request. * * @return The input stream for the request. * * @throws IOException if a problem occurs. */ public InputStream getInputStream() throws IOException { return request.getPortletInputStream(); }
/** * The default behavior of this method is to call * <code>getPortletInputStream()</code> on the wrapped request object. */ public InputStream getPortletInputStream() throws IOException { return request.getPortletInputStream(); }
public InputStream getPortletInputStream() throws IOException { return request.getPortletInputStream(); }
public static InputStream getPortletInputStream() throws IOException { ActionRequest actionRequest = getActionRequest(); if (actionRequest == null) { throw new IllegalStateException("The request is not ActionRequest."); } return actionRequest.getPortletInputStream(); }
public InputStream getPortletInputStream() throws IOException { return _getActionRequest().getPortletInputStream(); }
public ServletInputStream getInputStream() throws IOException { // TODO Portlet API does not have this method if (actionRequest != null) { return new ServletInputStreamWrapper(actionRequest .getPortletInputStream()); } return null; }
@Override public void processAction(ActionRequest request, ActionResponse response) throws PortletException, IOException { contentType = request.getContentType(); InputStream in = request.getPortletInputStream(); bytes = new String(IOTools.getBytes(in), "UTF-8"); }