org.seasar.tuigwaa.cms.core
クラス CmsRequest

java.lang.Object
  拡張org.seasar.tuigwaa.cms.core.CmsRequest

public class CmsRequest
extends Object

作成者:
someda

コンストラクタの概要
CmsRequest()
           
CmsRequest(javax.servlet.http.HttpServletRequest httpRequest)
           
CmsRequest(Page page, int type)
           
 
メソッドの概要
 Object getAttribute(String key)
           
 String getContextPath()
           
 String getMainPageParentPath()
           
 String getMainPagePath()
           
 int getMode()
           
 Page getPage()
           
 String getParameter(String key)
           
 Iterator getParamterNames()
           
 Node getRootNode()
           
 String getScheme()
           
 String getServerName()
           
 int getServerPort()
           
 String getSiteName()
           
 int getType()
           
 String getURLEncodedQuery()
           
 String getURLEncodedQuery(String exclusiveKey)
           
 boolean hasParentWikiRequest()
           
 boolean isHTMLRequest()
           
 boolean isPDFRequest()
           
 boolean isRTFRequest()
           
 boolean isTextRequest()
           
 void popScope()
           
 void pushScope()
           
 void removeAttribute(Object key)
           
 void removeParameter(String key)
           
 void setAttributes(Object key, Object value)
           
 void setContextPath(String contextPath)
           
 void setMainPagePath(String mainPagePath)
           
 void setMode(int mode)
           
 void setPage(Page page)
           
 void setParameter(String key, String value)
           
 void setRootNode(Node rootNode)
           
 void setScheme(String scheme)
           
 void setServerName(String serverName)
           
 void setServerPort(int serverPort)
           
 void setSiteName(String domain)
           
 void setType(int type)
          Set request type to the WikiEngine.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

CmsRequest

public CmsRequest()

CmsRequest

public CmsRequest(Page page,
                  int type)

CmsRequest

public CmsRequest(javax.servlet.http.HttpServletRequest httpRequest)
メソッドの詳細

getURLEncodedQuery

public String getURLEncodedQuery()

getURLEncodedQuery

public String getURLEncodedQuery(String exclusiveKey)

getMainPagePath

public String getMainPagePath()

setMainPagePath

public void setMainPagePath(String mainPagePath)

getMainPageParentPath

public String getMainPageParentPath()

hasParentWikiRequest

public boolean hasParentWikiRequest()

pushScope

public void pushScope()

popScope

public void popScope()

getSiteName

public String getSiteName()

setSiteName

public void setSiteName(String domain)

getPage

public Page getPage()

setPage

public void setPage(Page page)

setContextPath

public void setContextPath(String contextPath)

getContextPath

public String getContextPath()

getScheme

public String getScheme()

setScheme

public void setScheme(String scheme)

getServerName

public String getServerName()

setServerName

public void setServerName(String serverName)

getServerPort

public int getServerPort()

setServerPort

public void setServerPort(int serverPort)

getType

public int getType()

setType

public void setType(int type)
Set request type to the WikiEngine. It expects the param value is the one defined in WikiConstants. If unknown type would be specified, it throws IllegalArgumentException.

例外:
IllegalArgumentException

getRootNode

public Node getRootNode()

setRootNode

public void setRootNode(Node rootNode)

setParameter

public void setParameter(String key,
                         String value)

removeParameter

public void removeParameter(String key)

setAttributes

public void setAttributes(Object key,
                          Object value)

removeAttribute

public void removeAttribute(Object key)

getParameter

public String getParameter(String key)

getParamterNames

public Iterator getParamterNames()

getAttribute

public Object getAttribute(String key)

isHTMLRequest

public boolean isHTMLRequest()

isPDFRequest

public boolean isPDFRequest()

isRTFRequest

public boolean isRTFRequest()

isTextRequest

public boolean isTextRequest()

getMode

public int getMode()

setMode

public void setMode(int mode)


Copyright © 2005-2006 The Seasar Foundation and the others.. All Rights Reserved.