gpt4 book ai didi

org.codehaus.enunciate.contract.jaxws.WebMethod.isOneWay()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-26 10:01:05 26 4
gpt4 key购买 nike

本文整理了Java中org.codehaus.enunciate.contract.jaxws.WebMethod.isOneWay()方法的一些代码示例,展示了WebMethod.isOneWay()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WebMethod.isOneWay()方法的具体详情如下:
包路径:org.codehaus.enunciate.contract.jaxws.WebMethod
类名称:WebMethod
方法名:isOneWay

WebMethod.isOneWay介绍

[英]Whether this web method is one-way.
[中]这个web方法是否是单向的。

代码示例

代码示例来源:origin: org.codehaus.enunciate/enunciate-full

if (parameterStyle == SOAPBinding.ParameterStyle.WRAPPED) {
 messages.add(new RequestWrapper(this));
 if (!isOneWay()) {
  messages.add(new ResponseWrapper(this));
 if ((!isOneWay()) && (!(getReturnType() instanceof VoidType))) {
  messages.add(webResult);

代码示例来源:origin: org.codehaus.enunciate/enunciate-core

requestWrapper = new RequestWrapper(this);
messages.add(requestWrapper);
if (!isOneWay()) {
 responseWrapper = new ResponseWrapper(this);
 messages.add(responseWrapper);
if (!isOneWay() && !(getReturnType() instanceof VoidType) && !webResult.isHeader()) {
 messages.add(webResult);

代码示例来源:origin: org.codehaus.enunciate/enunciate-full

if (webMethod.isOneWay()) {
 this.generatedAnnotations.oneWayMethods.add(methodKey);

代码示例来源:origin: org.codehaus.enunciate/enunciate-xfire-client

if (webMethod.isOneWay()) {
 this.generatedAnnotations.oneWayMethods.add(methodKey);

代码示例来源:origin: org.codehaus.enunciate/enunciate-core

boolean oneway = webMethod.isOneWay();
SOAPBinding.ParameterStyle parameterStyle = webMethod.getSoapParameterStyle();
SOAPBinding.Style soapBindingStyle = webMethod.getSoapBindingStyle();
   "out parameters, or in/out parameters).");
 else if (outParams.isEmpty() && !webMethod.isOneWay()) {
  result.addError(webMethod, "A BARE web method that is not one-way must have one OUT parameter.");

代码示例来源:origin: org.codehaus.enunciate/enunciate-full

boolean oneway = webMethod.isOneWay();
SOAPBinding.ParameterStyle parameterStyle = webMethod.getSoapParameterStyle();
SOAPBinding.Style soapBindingStyle = webMethod.getSoapBindingStyle();

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com