org.seasar.portlet.tomahawk.multipart
クラス MultipartPortletRequestWrapper

java.lang.Object
  上位を拡張 org.seasar.portlet.tomahawk.multipart.MultipartPortletRequestWrapper
すべての実装されたインタフェース:
javax.portlet.ActionRequest, javax.portlet.PortletRequest, MultipartRequest

public class MultipartPortletRequestWrapper
extends java.lang.Object
implements javax.portlet.ActionRequest, MultipartRequest

This class handles multipart/form-date request for Portlet. It will be called if the request is multipart/form-data.

作成者:
Shinsuke Sugaya, Sylvain Vieujot

フィールドの概要
(package private)  java.util.HashMap fileItems
           
(package private)  org.apache.commons.fileupload.portlet.PortletFileUpload fileUpload
           
(package private)  int maxSize
           
(package private)  java.util.HashMap parametersMap
           
(package private)  java.lang.String repositoryPath
           
(package private)  javax.portlet.ActionRequest request
           
(package private)  int thresholdSize
           
 
インタフェース javax.portlet.PortletRequest から継承されたフィールド
BASIC_AUTH, CLIENT_CERT_AUTH, DIGEST_AUTH, FORM_AUTH, USER_INFO
 
コンストラクタの概要
MultipartPortletRequestWrapper(javax.portlet.ActionRequest request, int maxSize, int thresholdSize, java.lang.String repositoryPath)
           
 
メソッドの概要
 java.lang.Object getAttribute(java.lang.String arg0)
           
 java.util.Enumeration getAttributeNames()
           
 java.lang.String getAuthType()
           
 java.lang.String getCharacterEncoding()
           
 int getContentLength()
           
 java.lang.String getContentType()
           
 java.lang.String getContextPath()
           
 org.apache.commons.fileupload.FileItem getFileItem(java.lang.String fieldName)
           
 java.util.Map getFileItems()
          Not used internaly by MyFaces, but provides a way to handle the uploaded files out of MyFaces.
 java.util.Locale getLocale()
           
 java.util.Enumeration getLocales()
           
 java.lang.String getParameter(java.lang.String name)
           
 java.util.Map getParameterMap()
           
 java.util.Enumeration getParameterNames()
           
 java.lang.String[] getParameterValues(java.lang.String name)
           
 javax.portlet.PortalContext getPortalContext()
           
 java.io.InputStream getPortletInputStream()
           
 javax.portlet.PortletMode getPortletMode()
           
 javax.portlet.PortletSession getPortletSession()
           
 javax.portlet.PortletSession getPortletSession(boolean arg0)
           
 javax.portlet.PortletPreferences getPreferences()
           
 java.util.Enumeration getProperties(java.lang.String arg0)
           
 java.lang.String getProperty(java.lang.String arg0)
           
 java.util.Enumeration getPropertyNames()
           
 java.io.BufferedReader getReader()
           
 java.lang.String getRemoteUser()
           
 java.lang.String getRequestedSessionId()
           
 java.lang.String getResponseContentType()
           
 java.util.Enumeration getResponseContentTypes()
           
 java.lang.String getScheme()
           
 java.lang.String getServerName()
           
 int getServerPort()
           
 java.security.Principal getUserPrincipal()
           
 javax.portlet.WindowState getWindowState()
           
 boolean isPortletModeAllowed(javax.portlet.PortletMode arg0)
           
 boolean isRequestedSessionIdValid()
           
 boolean isSecure()
           
 boolean isUserInRole(java.lang.String arg0)
           
 boolean isWindowStateAllowed(javax.portlet.WindowState arg0)
           
 void removeAttribute(java.lang.String arg0)
           
 void setAttribute(java.lang.String arg0, java.lang.Object arg1)
           
 void setCharacterEncoding(java.lang.String arg0)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

request

javax.portlet.ActionRequest request

parametersMap

java.util.HashMap parametersMap

fileUpload

org.apache.commons.fileupload.portlet.PortletFileUpload fileUpload

fileItems

java.util.HashMap fileItems

maxSize

int maxSize

thresholdSize

int thresholdSize

repositoryPath

java.lang.String repositoryPath
コンストラクタの詳細

MultipartPortletRequestWrapper

public MultipartPortletRequestWrapper(javax.portlet.ActionRequest request,
                                      int maxSize,
                                      int thresholdSize,
                                      java.lang.String repositoryPath)
メソッドの詳細

getParameterNames

public java.util.Enumeration getParameterNames()
定義:
インタフェース javax.portlet.PortletRequest 内の getParameterNames

getParameter

public java.lang.String getParameter(java.lang.String name)
定義:
インタフェース javax.portlet.PortletRequest 内の getParameter

getParameterValues

public java.lang.String[] getParameterValues(java.lang.String name)
定義:
インタフェース javax.portlet.PortletRequest 内の getParameterValues

getParameterMap

public java.util.Map getParameterMap()
定義:
インタフェース javax.portlet.PortletRequest 内の getParameterMap

getFileItem

public org.apache.commons.fileupload.FileItem getFileItem(java.lang.String fieldName)
定義:
インタフェース MultipartRequest 内の getFileItem

getFileItems

public java.util.Map getFileItems()
Not used internaly by MyFaces, but provides a way to handle the uploaded files out of MyFaces.

定義:
インタフェース MultipartRequest 内の getFileItems

getAttribute

public java.lang.Object getAttribute(java.lang.String arg0)
定義:
インタフェース javax.portlet.PortletRequest 内の getAttribute

getAttributeNames

public java.util.Enumeration getAttributeNames()
定義:
インタフェース javax.portlet.PortletRequest 内の getAttributeNames

getAuthType

public java.lang.String getAuthType()
定義:
インタフェース javax.portlet.PortletRequest 内の getAuthType

getContextPath

public java.lang.String getContextPath()
定義:
インタフェース javax.portlet.PortletRequest 内の getContextPath

getLocale

public java.util.Locale getLocale()
定義:
インタフェース javax.portlet.PortletRequest 内の getLocale

getLocales

public java.util.Enumeration getLocales()
定義:
インタフェース javax.portlet.PortletRequest 内の getLocales

getPortalContext

public javax.portlet.PortalContext getPortalContext()
定義:
インタフェース javax.portlet.PortletRequest 内の getPortalContext

getPortletMode

public javax.portlet.PortletMode getPortletMode()
定義:
インタフェース javax.portlet.PortletRequest 内の getPortletMode

getPortletSession

public javax.portlet.PortletSession getPortletSession()
定義:
インタフェース javax.portlet.PortletRequest 内の getPortletSession

getPortletSession

public javax.portlet.PortletSession getPortletSession(boolean arg0)
定義:
インタフェース javax.portlet.PortletRequest 内の getPortletSession

getPreferences

public javax.portlet.PortletPreferences getPreferences()
定義:
インタフェース javax.portlet.PortletRequest 内の getPreferences

getProperties

public java.util.Enumeration getProperties(java.lang.String arg0)
定義:
インタフェース javax.portlet.PortletRequest 内の getProperties

getProperty

public java.lang.String getProperty(java.lang.String arg0)
定義:
インタフェース javax.portlet.PortletRequest 内の getProperty

getPropertyNames

public java.util.Enumeration getPropertyNames()
定義:
インタフェース javax.portlet.PortletRequest 内の getPropertyNames

getRemoteUser

public java.lang.String getRemoteUser()
定義:
インタフェース javax.portlet.PortletRequest 内の getRemoteUser

getRequestedSessionId

public java.lang.String getRequestedSessionId()
定義:
インタフェース javax.portlet.PortletRequest 内の getRequestedSessionId

getResponseContentType

public java.lang.String getResponseContentType()
定義:
インタフェース javax.portlet.PortletRequest 内の getResponseContentType

getResponseContentTypes

public java.util.Enumeration getResponseContentTypes()
定義:
インタフェース javax.portlet.PortletRequest 内の getResponseContentTypes

getScheme

public java.lang.String getScheme()
定義:
インタフェース javax.portlet.PortletRequest 内の getScheme

getServerName

public java.lang.String getServerName()
定義:
インタフェース javax.portlet.PortletRequest 内の getServerName

getServerPort

public int getServerPort()
定義:
インタフェース javax.portlet.PortletRequest 内の getServerPort

getUserPrincipal

public java.security.Principal getUserPrincipal()
定義:
インタフェース javax.portlet.PortletRequest 内の getUserPrincipal

getWindowState

public javax.portlet.WindowState getWindowState()
定義:
インタフェース javax.portlet.PortletRequest 内の getWindowState

isPortletModeAllowed

public boolean isPortletModeAllowed(javax.portlet.PortletMode arg0)
定義:
インタフェース javax.portlet.PortletRequest 内の isPortletModeAllowed

isRequestedSessionIdValid

public boolean isRequestedSessionIdValid()
定義:
インタフェース javax.portlet.PortletRequest 内の isRequestedSessionIdValid

isSecure

public boolean isSecure()
定義:
インタフェース javax.portlet.PortletRequest 内の isSecure

isUserInRole

public boolean isUserInRole(java.lang.String arg0)
定義:
インタフェース javax.portlet.PortletRequest 内の isUserInRole

isWindowStateAllowed

public boolean isWindowStateAllowed(javax.portlet.WindowState arg0)
定義:
インタフェース javax.portlet.PortletRequest 内の isWindowStateAllowed

removeAttribute

public void removeAttribute(java.lang.String arg0)
定義:
インタフェース javax.portlet.PortletRequest 内の removeAttribute

setAttribute

public void setAttribute(java.lang.String arg0,
                         java.lang.Object arg1)
定義:
インタフェース javax.portlet.PortletRequest 内の setAttribute

getCharacterEncoding

public java.lang.String getCharacterEncoding()
定義:
インタフェース javax.portlet.ActionRequest 内の getCharacterEncoding

getContentLength

public int getContentLength()
定義:
インタフェース javax.portlet.ActionRequest 内の getContentLength

getContentType

public java.lang.String getContentType()
定義:
インタフェース javax.portlet.ActionRequest 内の getContentType

getPortletInputStream

public java.io.InputStream getPortletInputStream()
                                          throws java.io.IOException
定義:
インタフェース javax.portlet.ActionRequest 内の getPortletInputStream
例外:
java.io.IOException

getReader

public java.io.BufferedReader getReader()
                                 throws java.io.UnsupportedEncodingException,
                                        java.io.IOException
定義:
インタフェース javax.portlet.ActionRequest 内の getReader
例外:
java.io.UnsupportedEncodingException
java.io.IOException

setCharacterEncoding

public void setCharacterEncoding(java.lang.String arg0)
                          throws java.io.UnsupportedEncodingException
定義:
インタフェース javax.portlet.ActionRequest 内の setCharacterEncoding
例外:
java.io.UnsupportedEncodingException


Copyright 2006 null. All Rights Reserved.