Creates a new servlet part instance with the data from the HTTP part.
public static fromHttpRequest ( AppserverIo\Psr\HttpMessage\PartInterface $httpPart ) : |
||
$httpPart | AppserverIo\Psr\HttpMessage\PartInterface | The HTTP part we want to copy |
return | The initialized servlet part |