public class MultipartRoutes extends Object
FileUploadHandler to determine whether it
should accept a request.| Modifier and Type | Class and Description |
|---|---|
static class |
MultipartRoutes.Builder |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFileUploadRoute(String requestUri)
Returns
true if the handler at the provided requestUri endpoint
accepts file uploads. |
boolean |
isPostRoute(String requestUri)
Returns
true if the handler at the provided requestUri endpoint
accepts POST requests. |
String |
toString() |
public boolean isPostRoute(String requestUri)
true if the handler at the provided requestUri endpoint
accepts POST requests.requestUri - URI for the requestpublic boolean isFileUploadRoute(String requestUri)
true if the handler at the provided requestUri endpoint
accepts file uploads.requestUri - URI for the requestCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.