public class SettlementDemandServlet extends Object
| 修飾子とタイプ | フィールドと説明 |
|---|---|
static int |
SEND_GET
GET方式で送信することを示す定数
|
static int |
SEND_POST
POST方式で送信することを示す定数
|
| コンストラクタと説明 |
|---|
SettlementDemandServlet(SSLConfigurator sslConf,
String userAgent)
Servletで決済要求を行うためのクラスのコンストラクタ。
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
execute(int send,
URL url,
String jsonValues)
決済要求サービスのサーブレットクラスを呼び出す。
|
String |
getResultBody()
電文から取得したボディ情報を取得する。
|
String |
getResultHeader()
電文から取得したヘッダ情報を取得する。
|
public static final int SEND_GET
public static final int SEND_POST
public SettlementDemandServlet(SSLConfigurator sslConf, String userAgent) throws Exception
sslConf - SSL送信するためのコンフィグクラスuserAgent - User-Agent情報Exceptionpublic void execute(int send,
URL url,
String jsonValues)
throws KeyStoreException,
NoSuchAlgorithmException,
CertificateException,
FileNotFoundException,
IOException,
UnrecoverableKeyException,
KeyManagementException,
UnknownHostException,
Exception
send - 送信方式(SEND_GET or SEND_POST)url - 送信するURLjsonValues - JSON形式のリクエストパラメータKeyStoreExceptionNoSuchAlgorithmExceptionCertificateExceptionFileNotFoundExceptionIOExceptionUnrecoverableKeyExceptionKeyManagementExceptionUnknownHostExceptionExceptionpublic String getResultHeader()
public String getResultBody()
Copyright © 2025. All rights reserved.