gpt4 book ai didi

org.apache.xmlrpc.XmlRpcConfig类的使用及代码示例

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

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

XmlRpcConfig介绍

[英]A common base interface for org.apache.xmlrpc.client.XmlRpcClientConfig, and org.apache.xmlrpc.server.XmlRpcServerConfig.
[中]

代码示例

代码示例来源:origin: xmlrpc/xmlrpc-client

protected boolean isUsingByteArrayOutput(XmlRpcHttpClientConfig pConfig) {
  return !pConfig.isEnabledForExtensions()
    || !pConfig.isContentLengthOptional();
}

代码示例来源:origin: org.sonatype.sisu/sisu-xmlrpc-common

protected TimeZone getTimeZone() {
    return controller.getConfig().getTimeZone();
  }
});

代码示例来源:origin: xmlrpc/xmlrpc-client

protected boolean isCompressingRequest(XmlRpcStreamRequestConfig pConfig) {
  return pConfig.isEnabledForExtensions()
    && pConfig.isGzipCompressing();
}

代码示例来源:origin: org.apache.xmlrpc/xmlrpc-common

protected TimeZone getTimeZone() {
    return controller.getConfig().getTimeZone();
  }
});

代码示例来源:origin: org.apache.xmlrpc/xmlrpc-server

/** Creates a new instance of {@link PropertyHandlerMapping} by
 * loading the property file from the given URL. Called from
 * {@link #newXmlRpcHandlerMapping()}.
 */
protected PropertyHandlerMapping newPropertyHandlerMapping(URL url) throws IOException, XmlRpcException {
  PropertyHandlerMapping mapping = new PropertyHandlerMapping();
  mapping.setAuthenticationHandler(authenticationHandler);
  if (requestProcessorFactoryFactory != null) {
    mapping.setRequestProcessorFactoryFactory(requestProcessorFactoryFactory);
  }
  if (typeConverterFactory != null) {
    mapping.setTypeConverterFactory(typeConverterFactory);
  } else {
    mapping.setTypeConverterFactory(server.getTypeConverterFactory());
  }
  mapping.setVoidMethodEnabled(server.getConfig().isEnabledForExtensions());
  mapping.load(Thread.currentThread().getContextClassLoader(), url);
  return mapping;
}

代码示例来源:origin: rosjava/rosjava_core

protected TimeZone getTimeZone() {
    return controller.getConfig().getTimeZone();
  }
});

代码示例来源:origin: org.sonatype.sisu/sisu-xmlrpc-server

/** Creates a new instance of {@link PropertyHandlerMapping} by
 * loading the property file from the given URL. Called from
 * {@link #newXmlRpcHandlerMapping()}.
 */
protected PropertyHandlerMapping newPropertyHandlerMapping(URL url) throws IOException, XmlRpcException {
  PropertyHandlerMapping mapping = new PropertyHandlerMapping();
  mapping.setAuthenticationHandler(authenticationHandler);
  if (requestProcessorFactoryFactory != null) {
    mapping.setRequestProcessorFactoryFactory(requestProcessorFactoryFactory);
  }
  if (typeConverterFactory != null) {
    mapping.setTypeConverterFactory(typeConverterFactory);
  } else {
    mapping.setTypeConverterFactory(server.getTypeConverterFactory());
  }
  mapping.setVoidMethodEnabled(server.getConfig().isEnabledForExtensions());
  mapping.load(Thread.currentThread().getContextClassLoader(), url);
  return mapping;
}

代码示例来源:origin: org.apache.xmlrpc/xmlrpc-common

protected TimeZone getTimeZone() {
    return controller.getConfig().getTimeZone();
  }
});

代码示例来源:origin: rosjava/rosjava_core

public Object sendRequest(XmlRpcRequest pRequest) throws XmlRpcException {
  XmlRpcConfig config = pRequest.getConfig();
  if (!config.isEnabledForExtensions()) {
    for (int i = 0;  i < pRequest.getParameterCount();  i++) {
      if (isExtensionType(pRequest.getParameter(i))) {
        + ": " + t.getMessage(), t);
  if (!config.isEnabledForExtensions()) {
    if (isExtensionType(result)) {
      throw new XmlRpcExtensionException("Result has invalid type, if isEnabledForExtensions() == false");

代码示例来源:origin: org.sonatype.sisu/sisu-xmlrpc-common

protected TimeZone getTimeZone() {
    return controller.getConfig().getTimeZone();
  }
});

代码示例来源:origin: xmlrpc/xmlrpc-client

public Object sendRequest(XmlRpcRequest pRequest) throws XmlRpcException {
  XmlRpcConfig config = pRequest.getConfig();
  if (!config.isEnabledForExtensions()) {
    for (int i = 0;  i < pRequest.getParameterCount();  i++) {
      if (isExtensionType(pRequest.getParameter(i))) {
  if (!config.isEnabledForExtensions()) {
    if (isExtensionType(result)) {
      throw new XmlRpcExtensionException("Result has invalid type, if isEnabledForExtensions() == false");

代码示例来源:origin: rosjava/rosjava_core

protected TimeZone getTimeZone() {
    return controller.getConfig().getTimeZone();
  }
});

代码示例来源:origin: org.apache.xmlrpc/xmlrpc-client

public Object sendRequest(XmlRpcRequest pRequest) throws XmlRpcException {
  XmlRpcConfig config = pRequest.getConfig();
  if (!config.isEnabledForExtensions()) {
    for (int i = 0;  i < pRequest.getParameterCount();  i++) {
      if (isExtensionType(pRequest.getParameter(i))) {
        + ": " + t.getMessage(), t);
  if (!config.isEnabledForExtensions()) {
    if (isExtensionType(result)) {
      throw new XmlRpcExtensionException("Result has invalid type, if isEnabledForExtensions() == false");

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