public class MultipartRoutes extends Object
FileUploadHandler to determine whether it
should accept a request.| 限定符和类型 | 类和说明 |
|---|---|
static class |
MultipartRoutes.Builder |
| 限定符和类型 | 方法和说明 |
|---|---|
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–2024 The Apache Software Foundation. All rights reserved.