T
- The part typepublic static final class HTTPRequest.ContentPart<T> extends Object
Constructor and Description |
---|
ContentPart(String name,
T content,
HTTPRequest.ContentPartType type)
This is the class constructor.
|
Modifier and Type | Method and Description |
---|---|
T |
getContent()
This function returns the content of the part.
|
String |
getName()
This function returns the part name/key.
|
HTTPRequest.ContentPartType |
getType()
This function returns the content type.
|
public ContentPart(String name, T content, HTTPRequest.ContentPartType type)
name
- The part name/keycontent
- The part datatype
- The part typepublic String getName()
public T getContent()
public HTTPRequest.ContentPartType getType()
Copyright © 2009–2020 fax4j. All rights reserved.