public class URLRpcChannel extends Object implements com.google.protobuf.RpcChannel
| コンストラクタと説明 |
|---|
URLRpcChannel(URL url) |
URLRpcChannel(URL url,
String authUserName,
String authPassword) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
void |
call(BlockPE<OutputStream,IOException> sender,
BlockPE<InputStream,IOException> successReceiver,
BlockPPE<InputStream,IOException,IOException> failReceiver) |
void |
callMethod(com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.RpcController controller,
com.google.protobuf.Message request,
com.google.protobuf.Message responsePrototype,
com.google.protobuf.RpcCallback<com.google.protobuf.Message> done) |
Map<String,String> |
getRequestProperties() |
Map<String,String> |
getResponseProperties() |
URL |
getUrl() |
public URLRpcChannel(URL url)
public URL getUrl()
public void call(BlockPE<OutputStream,IOException> sender, BlockPE<InputStream,IOException> successReceiver, BlockPPE<InputStream,IOException,IOException> failReceiver)
public void callMethod(com.google.protobuf.Descriptors.MethodDescriptor method,
com.google.protobuf.RpcController controller,
com.google.protobuf.Message request,
com.google.protobuf.Message responsePrototype,
com.google.protobuf.RpcCallback<com.google.protobuf.Message> done)
callMethod インタフェース内 com.google.protobuf.RpcChannelCopyright © 2017. All rights reserved.