Created
March 30, 2016 13:02
-
-
Save pvlasov/064e061a30fb3f2bad168f7b561134d2 to your computer and use it in GitHub Desktop.
Code to enable multi-part request processing in Jetty in Equinox - adding multi-part config attribute to the request
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (request.getAttribute(org.eclipse.jetty.server.Request.__MULTIPART_CONFIG_ELEMENT) == null) { | |
request.setAttribute(org.eclipse.jetty.server.Request.__MULTIPART_CONFIG_ELEMENT, org.eclipse.jetty.util.MultiPartInputStreamParser.__DEFAULT_MULTIPART_CONFIG); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment