类 RestTemplateUtils

java.lang.Object
com.iplatform.base.util.RestTemplateUtils

public class RestTemplateUtils extends Object
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    protected static final org.slf4j.Logger
     
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    static final com.fasterxml.jackson.databind.node.ObjectNode
    getData(String url, org.springframework.web.client.RestTemplate restTemplate)
    已过时。
    static final String
    postXml(String url, String xml, org.springframework.web.client.RestTemplate restTemplate)
    请求远程调用,输入xml格式数据

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 字段详细资料

    • logger

      protected static final org.slf4j.Logger logger
  • 构造器详细资料

    • RestTemplateUtils

      public RestTemplateUtils()
  • 方法详细资料

    • postXml

      public static final String postXml(String url, String xml, org.springframework.web.client.RestTemplate restTemplate)
      请求远程调用,输入xml格式数据
      参数:
      url -
      xml -
      restTemplate -
      返回:
    • getData

      @Deprecated public static final com.fasterxml.jackson.databind.node.ObjectNode getData(String url, org.springframework.web.client.RestTemplate restTemplate)
      已过时。
      发送GET请求
      参数:
      url - 请求地址
      restTemplate -
      返回: