com.alibaba.dubbo.common.utils.Assert Java Examples
The following examples show how to use
com.alibaba.dubbo.common.utils.Assert.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DecodeableRpcResult.java From dubbox with Apache License 2.0 | 5 votes |
public DecodeableRpcResult(Channel channel, Response response, InputStream is, Invocation invocation, byte id) { Assert.notNull(channel, "channel == null"); Assert.notNull(response, "response == null"); Assert.notNull(is, "inputStream == null"); this.channel = channel; this.response = response; this.inputStream = is; this.invocation = invocation; this.serializationType = id; }
Example #2
Source File: DecodeableRpcInvocation.java From dubbox-hystrix with Apache License 2.0 | 5 votes |
public DecodeableRpcInvocation(Channel channel, Request request, InputStream is, byte id) { Assert.notNull(channel, "channel == null"); Assert.notNull(request, "request == null"); Assert.notNull(is, "inputStream == null"); this.channel = channel; this.request = request; this.inputStream = is; this.serializationType = id; }
Example #3
Source File: DecodeableRpcResult.java From dubbox-hystrix with Apache License 2.0 | 5 votes |
public DecodeableRpcResult(Channel channel, Response response, InputStream is, Invocation invocation, byte id) { Assert.notNull(channel, "channel == null"); Assert.notNull(response, "response == null"); Assert.notNull(is, "inputStream == null"); this.channel = channel; this.response = response; this.inputStream = is; this.invocation = invocation; this.serializationType = id; }
Example #4
Source File: DecodeableRpcInvocation.java From dubbox with Apache License 2.0 | 5 votes |
public DecodeableRpcInvocation(Channel channel, Request request, InputStream is, byte id) { Assert.notNull(channel, "channel == null"); Assert.notNull(request, "request == null"); Assert.notNull(is, "inputStream == null"); this.channel = channel; this.request = request; this.inputStream = is; this.serializationType = id; }
Example #5
Source File: DecodeableRpcResult.java From dubbox with Apache License 2.0 | 5 votes |
public DecodeableRpcResult(Channel channel, Response response, InputStream is, Invocation invocation, byte id) { Assert.notNull(channel, "channel == null"); Assert.notNull(response, "response == null"); Assert.notNull(is, "inputStream == null"); this.channel = channel; this.response = response; this.inputStream = is; this.invocation = invocation; this.serializationType = id; }
Example #6
Source File: DecodeableRpcInvocation.java From dubbox with Apache License 2.0 | 5 votes |
public DecodeableRpcInvocation(Channel channel, Request request, InputStream is, byte id) { Assert.notNull(channel, "channel == null"); Assert.notNull(request, "request == null"); Assert.notNull(is, "inputStream == null"); this.channel = channel; this.request = request; this.inputStream = is; this.serializationType = id; }
Example #7
Source File: DecodeableRpcResult.java From dubbox with Apache License 2.0 | 5 votes |
public DecodeableRpcResult(Channel channel, Response response, InputStream is, Invocation invocation, byte id) { Assert.notNull(channel, "channel == null"); Assert.notNull(response, "response == null"); Assert.notNull(is, "inputStream == null"); this.channel = channel; this.response = response; this.inputStream = is; this.invocation = invocation; this.serializationType = id; }
Example #8
Source File: DecodeableRpcResult.java From dubbo3 with Apache License 2.0 | 5 votes |
public DecodeableRpcResult(Channel channel, Response response, InputStream is, Invocation invocation, byte id) { Assert.notNull(channel, "channel == null"); Assert.notNull(response, "response == null"); Assert.notNull(is, "inputStream == null"); this.channel = channel; this.response = response; this.inputStream = is; this.invocation = invocation; this.serializationType = id; }
Example #9
Source File: DecodeableRpcInvocation.java From dubbo3 with Apache License 2.0 | 5 votes |
public DecodeableRpcInvocation(Channel channel, Request request, InputStream is, byte id) { Assert.notNull(channel, "channel == null"); Assert.notNull(request, "request == null"); Assert.notNull(is, "inputStream == null"); this.channel = channel; this.request = request; this.inputStream = is; this.serializationType = id; }
Example #10
Source File: DecodeableRpcInvocation.java From dubbox with Apache License 2.0 | 5 votes |
public DecodeableRpcInvocation(Channel channel, Request request, InputStream is, byte id) { Assert.notNull(channel, "channel == null"); Assert.notNull(request, "request == null"); Assert.notNull(is, "inputStream == null"); this.channel = channel; this.request = request; this.inputStream = is; this.serializationType = id; }
Example #11
Source File: DecodeableRpcResult.java From dubbo-2.6.5 with Apache License 2.0 | 5 votes |
public DecodeableRpcResult(Channel channel, Response response, InputStream is, Invocation invocation, byte id) { Assert.notNull(channel, "channel == null"); Assert.notNull(response, "response == null"); Assert.notNull(is, "inputStream == null"); this.channel = channel; this.response = response; this.inputStream = is; this.invocation = invocation; this.serializationType = id; }
Example #12
Source File: DecodeableRpcInvocation.java From dubbo-2.6.5 with Apache License 2.0 | 5 votes |
public DecodeableRpcInvocation(Channel channel, Request request, InputStream is, byte id) { Assert.notNull(channel, "channel == null"); Assert.notNull(request, "request == null"); Assert.notNull(is, "inputStream == null"); this.channel = channel; this.request = request; this.inputStream = is; this.serializationType = id; }
Example #13
Source File: DubboConfigBindingBeanPostProcessor.java From dubbo-2.6.5 with Apache License 2.0 | 5 votes |
/** * @param prefix the prefix of Configuration Properties * @param beanName the binding Bean Name */ public DubboConfigBindingBeanPostProcessor(String prefix, String beanName) { Assert.notNull(prefix, "The prefix of Configuration Properties must not be null"); Assert.notNull(beanName, "The name of bean must not be null"); this.prefix = prefix; this.beanName = beanName; }
Example #14
Source File: NativeJavaObjectOutput.java From dubbo3 with Apache License 2.0 | 4 votes |
protected NativeJavaObjectOutput(ObjectOutputStream out) { Assert.notNull(out, "output == null"); this.outputStream = out; }
Example #15
Source File: NettyBackedChannelBuffer.java From dubbo3 with Apache License 2.0 | 4 votes |
public NettyBackedChannelBuffer(org.jboss.netty.buffer.ChannelBuffer buffer) { Assert.notNull(buffer, "buffer == null"); this.buffer = buffer; }
Example #16
Source File: NativeJavaObjectInput.java From dubbo3 with Apache License 2.0 | 4 votes |
protected NativeJavaObjectInput(ObjectInputStream is) { Assert.notNull(is, "input == null"); inputStream = is; }
Example #17
Source File: CodecAdapter.java From dubbo3 with Apache License 2.0 | 4 votes |
public CodecAdapter(Codec codec) { Assert.notNull(codec, "codec == null"); this.codec = codec; }
Example #18
Source File: AbstractChannelHandlerDelegate.java From dubbo3 with Apache License 2.0 | 4 votes |
protected AbstractChannelHandlerDelegate(ChannelHandler handler) { Assert.notNull(handler, "handler == null"); this.handler = handler; }
Example #19
Source File: NettyBackedChannelBuffer.java From dubbo3 with Apache License 2.0 | 4 votes |
public NettyBackedChannelBuffer(ByteBuf buffer) { Assert.notNull(buffer, "buffer == null"); this.buffer = buffer; }
Example #20
Source File: NettyBackedChannelBuffer.java From dubbo-remoting-netty4 with Apache License 2.0 | 4 votes |
public NettyBackedChannelBuffer(ByteBuf buffer) { Assert.notNull(buffer, "buffer == null"); this.buffer = buffer; }
Example #21
Source File: NettyBackedChannelBuffer.java From dubbox with Apache License 2.0 | 4 votes |
public NettyBackedChannelBuffer(org.jboss.netty.buffer.ChannelBuffer buffer) { Assert.notNull(buffer, "buffer == null"); this.buffer = buffer; }
Example #22
Source File: AbstractChannelHandlerDelegate.java From dubbox with Apache License 2.0 | 4 votes |
protected AbstractChannelHandlerDelegate(ChannelHandler handler) { Assert.notNull(handler, "handler == null"); this.handler = handler; }
Example #23
Source File: CodecAdapter.java From dubbox with Apache License 2.0 | 4 votes |
public CodecAdapter(Codec codec) { Assert.notNull(codec, "codec == null"); this.codec = codec; }
Example #24
Source File: NativeJavaObjectInput.java From dubbox with Apache License 2.0 | 4 votes |
protected NativeJavaObjectInput(ObjectInputStream is) { Assert.notNull(is, "input == null"); inputStream = is; }
Example #25
Source File: NativeJavaObjectOutput.java From dubbox with Apache License 2.0 | 4 votes |
protected NativeJavaObjectOutput(ObjectOutputStream out) { Assert.notNull(out, "output == null"); this.outputStream = out; }
Example #26
Source File: NettyBackedChannelBuffer.java From dubbox with Apache License 2.0 | 4 votes |
public NettyBackedChannelBuffer(org.jboss.netty.buffer.ChannelBuffer buffer) { Assert.notNull(buffer, "buffer == null"); this.buffer = buffer; }
Example #27
Source File: AbstractChannelHandlerDelegate.java From dubbox with Apache License 2.0 | 4 votes |
protected AbstractChannelHandlerDelegate(ChannelHandler handler) { Assert.notNull(handler, "handler == null"); this.handler = handler; }
Example #28
Source File: CodecAdapter.java From dubbox with Apache License 2.0 | 4 votes |
public CodecAdapter(Codec codec) { Assert.notNull(codec, "codec == null"); this.codec = codec; }
Example #29
Source File: NativeJavaObjectInput.java From dubbox with Apache License 2.0 | 4 votes |
protected NativeJavaObjectInput(ObjectInputStream is) { Assert.notNull(is, "input == null"); inputStream = is; }
Example #30
Source File: NativeJavaObjectOutput.java From dubbox with Apache License 2.0 | 4 votes |
protected NativeJavaObjectOutput(ObjectOutputStream out) { Assert.notNull(out, "output == null"); this.outputStream = out; }