public class HttpParser extends Object
| Constructor and Description |
|---|
HttpParser() |
| Modifier and Type | Method and Description |
|---|---|
static String |
extractPath(String uri) |
static String |
extractQueryParams(String uri) |
static String |
getContentTypeSubType(String contentType)
Extracts the subtype from a content type
|
static String |
normalizePathWithSpacesOrEncodedSpaces(String path)
Normalize a path that may contains spaces, %20 or +.
|
static Collection<HttpPart> |
parseMultipartContent(InputStream content,
String contentType) |
static String |
sanitizePathWithStartSlash(String path) |
public static Collection<HttpPart> parseMultipartContent(InputStream content, String contentType) throws IOException
IOExceptionpublic static String getContentTypeSubType(String contentType)
contentType - the content typeCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.