Class PartItem
- java.lang.Object
-
- org.jboss.resteasy.reactive.server.core.multipart.PartItem
-
public final class PartItem extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFirstParamType()
If the value is a parameterized class like a List, it will return the raw representation of the first parameter type.String
getName()
javax.ws.rs.core.MediaType
getType()
Object
getValue()
-
-
-
Method Detail
-
getName
public String getName()
-
getType
public javax.ws.rs.core.MediaType getType()
-
getValue
public Object getValue()
-
getFirstParamType
public String getFirstParamType()
If the value is a parameterized class like a List, it will return the raw representation of the first parameter type. For example, if it's a List, it will return "java.lang.String". If the value is not a parameterized class, it will return an empty string. - Returns:
- the raw representation of the first parameter type in parameterized classes. Otherwise, empty string.
-
-