com.baidubce.common
Class ApiInfo

java.lang.Object
  extended by com.baidubce.common.ApiInfo

public class ApiInfo
extends Object

Api info for v2 client to create request

Author:
zhangquan07

Constructor Summary
ApiInfo(ApiInfo other)
           
ApiInfo(HttpMethodName method, ApiPath path, Map<String,String> queries, Map<String,String> headers)
           
 
Method Summary
 Map<String,String> getHeaders()
           
 HttpMethodName getMethod()
           
 ApiPath getPath()
           
 Map<String,String> getQueries()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApiInfo

public ApiInfo(HttpMethodName method,
               ApiPath path,
               Map<String,String> queries,
               Map<String,String> headers)

ApiInfo

public ApiInfo(ApiInfo other)
Method Detail

getMethod

public HttpMethodName getMethod()

getPath

public ApiPath getPath()

getQueries

public Map<String,String> getQueries()

getHeaders

public Map<String,String> getHeaders()


Copyright © 2020. All rights reserved.