public class RemoteControlServlet extends HttpServlet
外部からキーと値を投げて処理をさせるサーブレットです。 Post,Get両方に対応しています。 classキーが必須です。(値はhayabusa/remote/内のクラス名)
4.1.0.0 (2007/12/20) 新規作成 |
コンストラクタと説明 |
---|
RemoteControlServlet() |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
doGet(HttpServletRequest request,
HttpServletResponse response)
Getメソッドで与えられたrequestをcallClassメソッドに渡します。
|
void |
doPost(HttpServletRequest request,
HttpServletResponse response)
Postメソッドで与えられたrequestをcallClassメソッドに渡します。
|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
doPost
クラス内 HttpServlet
request
- HttpServletRequestリクエストresponse
- HttpServletResponseレスポンスServletException
- サーブレット関係のエラーが発生した場合、throw されます。IOException
- 入出力エラーが発生したときpublic void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
doGet
クラス内 HttpServlet
request
- HttpServletRequestリクエストresponse
- HttpServletResponseレスポンスServletException
- サーブレット関係のエラーが発生した場合、throw されます。IOException
- 入出力エラーが発生したときWebアプリケーションフレームワーク openGionCopyright (c) 2009 The openGion Project.