public class URLRpcChannel extends Object implements com.google.protobuf.RpcChannel
Constructor and Description |
---|
URLRpcChannel(URL url) |
URLRpcChannel(URL url,
String authUserName,
String authPassword) |
Modifier and Type | Method and Description |
---|---|
void |
call(jp.go.nict.langrid.commons.lang.block.BlockPE<OutputStream,IOException> sender,
jp.go.nict.langrid.commons.lang.block.BlockPE<InputStream,IOException> successReceiver,
jp.go.nict.langrid.commons.lang.block.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(jp.go.nict.langrid.commons.lang.block.BlockPE<OutputStream,IOException> sender, jp.go.nict.langrid.commons.lang.block.BlockPE<InputStream,IOException> successReceiver, jp.go.nict.langrid.commons.lang.block.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
in interface com.google.protobuf.RpcChannel