@RequestScoped public abstract class FWRESTController extends Object
<filter-mapping>
<filter-name>handywedge_rest_filter</filter-name>
<url-pattern>/fw/rest/*</url-pattern>
</filter-mapping>
RESTインターフェースではAPIトークン認証が行われます。Authorization: Bearer APIトークンFWLoginManager| コンストラクタと説明 |
|---|
FWRESTController() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
FWRESTResponse |
doDelete(FWRESTRequest request)
HTTPのDELETEメソッドのリクエストで実行されます。
|
FWRESTResponse |
doGet(String param)
HTTPのGETメソッドのリクエストで実行されます。
|
FWRESTResponse |
doPost(FWRESTRequest request)
HTTPのPOSTメソッドのリクエストで実行されます。
|
FWRESTResponse |
doPut(FWRESTRequest request)
HTTPのPUTメソッドのリクエストで実行されます。
|
public FWRESTResponse doPost(FWRESTRequest request)
request - JSONをアンマーシャルしたDTOpublic FWRESTResponse doGet(String param)
param - URLのパスパラメータ。public FWRESTResponse doPut(FWRESTRequest request)
request - JSONをアンマーシャルしたDTOpublic FWRESTResponse doDelete(FWRESTRequest request)
request - JSONをアンマーシャルしたDTOHandywedge ver 0.6.0. Copyright (c) 2016-2018 C Studio Co.,Ltd.