jp.go.nict.langrid.servicecontainer.handler.protobufrpc
クラス ProtoBufBilingualDictionaryWithLongestMatchSearchHandler
java.lang.Object
jp.go.nict.langrid.servicecontainer.handler.protobufrpc.AbstractProtoBufHandler
jp.go.nict.langrid.servicecontainer.handler.protobufrpc.ProtoBufBilingualDictionaryWithLongestMatchSearchHandler
- すべての実装されたインタフェース:
- ProtoBufHandler
public class ProtoBufBilingualDictionaryWithLongestMatchSearchHandler
- extends AbstractProtoBufHandler
- implements ProtoBufHandler
PB サーブレットから呼び出される翻訳サービスハンドラ
プロトコルに依存しないサービスを呼び出す
- バージョン:
- $Revision: 6709 $
- 作成者:
- Takao Nakaguchi, $Author: nakaguchi $
|
メソッドの概要 |
void |
handle(String serviceName,
String method,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
com.google.protobuf.CodedInputStream is,
com.google.protobuf.CodedOutputStream os)
spring で生成したプロトコルに依存しない翻訳サービスを実行する |
| クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProtoBufBilingualDictionaryWithLongestMatchSearchHandler
public ProtoBufBilingualDictionaryWithLongestMatchSearchHandler()
handle
public void handle(String serviceName,
String method,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
com.google.protobuf.CodedInputStream is,
com.google.protobuf.CodedOutputStream os)
throws ProcessFailedException
- spring で生成したプロトコルに依存しない翻訳サービスを実行する
- 定義:
- インタフェース
ProtoBufHandler 内の handle
- パラメータ:
serviceName - サービス名method - メソッド名request - HTTPリクエストresponse - HTTPレスポンスis - 入力ストリームos - 出力ストリーム
- 例外:
ProcessFailedException - 処理に失敗した