public class ImFormData extends Object
该类用于封装普通表单数据
Normal form data Bean class
This class is used to wrap ordinary form data
program: Sinlmao Commons Network Utils
description: 普通表单数据Bean
create: 2019-09-01 01:57
| 构造器和说明 |
|---|
ImFormData() |
ImFormData(String name,
String contentType,
String value)
封装一个普通表单数据
Build a normal form data
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getContentType()
获取数据类型(内容类型)
Get Data type (content type)
|
String |
getData()
已过时。
|
String |
getName()
获取数据名
Get Data name
|
String |
getValue()
获取数据值
Get Data value
|
void |
setContentType(String contentType)
设置数据类型(内容类型)
Set Data type (content type)
|
void |
setName(String name)
设置数据名
Set Data name
|
void |
setValue(String value)
设置数据值
Set Data value
|
public String getName()
Get Data name
public void setName(String name)
Set Data name
name - 数据名 public String getContentType()
Get Data type (content type)
public void setContentType(String contentType)
Set Data type (content type)
contentType - 数据类型(内容类型) public String getValue()
Get Data value
public void setValue(String value)
Set Data value
value - 数据值 @Deprecated public String getData()
Expired, please change to getValue
Copyright © 2020. All rights reserved.