1 package com.netease.nimlib.sdk.passthrough.model;
6 import java.io.Serializable;
42 private String header;
58 this(null, path, method, header, body);
66 this(null, header, body);
101 this.header = header;
113 if (property == null) {
116 String header =
property.get(IPassThroughService.PassThroughProxyTag.header);
117 String body =
property.get(IPassThroughService.PassThroughProxyTag.body);
PassthroughProxyData(String header, String body)
static PassthroughProxyData fromProperty(Property property)
void setMethod(int method)
void setPath(String path)
void setBody(String body)
PassthroughProxyData(String zone, String path, int method, String header, String body)
Created by hzsunyj on 2019-12-23.
PassthroughProxyData(String path, String header, String body)
PassthroughProxyData(String path, int method, String header, String body)
void setZone(String zone)
void setHeader(String header)