Package org.eclipse.jetty.ee10.servlet
Class ServletMultiPartFormData
java.lang.Object
org.eclipse.jetty.ee10.servlet.ServletMultiPartFormData
Servlet specific class for multipart content support.
Use from(ServletRequest)
to
parse multipart request content into a ServletMultiPartFormData.Parts
object that can
be used to access Servlet Part
objects.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
An ordered list ofPart
s that can be accessed by name. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfrom
(jakarta.servlet.ServletRequest servletRequest) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Details
-
ServletMultiPartFormData
public ServletMultiPartFormData()
-
-
Method Details
-
from
@Deprecated(forRemoval=true, since="12.0.15") public static CompletableFuture<ServletMultiPartFormData.Parts> from(jakarta.servlet.ServletRequest servletRequest) Deprecated, for removal: This API element is subject to removal in a future version.Get futureServletMultiPartFormData.Parts
from a servlet request.- Parameters:
servletRequest
- A servlet request- Returns:
- A future
ServletMultiPartFormData.Parts
, which may have already been created and/or completed. - See Also:
-
from
@Deprecated(forRemoval=true, since="12.0.15") public static CompletableFuture<ServletMultiPartFormData.Parts> from(jakarta.servlet.ServletRequest servletRequest, String contentType) Deprecated, for removal: This API element is subject to removal in a future version.Get futureServletMultiPartFormData.Parts
from a servlet request.- Parameters:
servletRequest
- A servlet requestcontentType
- The contentType, passed as an optimization as it has likely already been retrieved.- Returns:
- A future
ServletMultiPartFormData.Parts
, which may have already been created and/or completed.
-