public final class UploadBlobServlet extends HttpServlet
UploadBlobServlethandles blob uploads in the development server. The stub implementation of
BlobstoreService.createUploadUrl(java.lang.String)returns URLs that are mapped to this servlet.
Its primary responsibility is parsing multipart/form-data or multipart/mixed requests made by web browsers. To minimize dependencies in the SDK, it does using the MimeMultipart class included with JavaMail.
After the files are extracted from the multipart request body,
they are assigned
BlobKey values and are committed to local
storage. The multipart body parts are then replaced with
message/external-body parts that specify the
additional parameters in the Content-type header.
|Constructor and Description|
|Modifier and Type||Method and Description|