public class ServletTools extends Object
| Constructor and Description |
|---|
ServletTools() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getContextPath() |
static Map<String,Object> |
getParametersFromMultiPart(javax.servlet.http.HttpServletRequest req) |
static String |
getServerAddress() |
static int |
getServerPort() |
static void |
setContextPath(String contextPath) |
static void |
setServerAddress(String serverAddress) |
static void |
setServerPort(int serverPort) |
public static Map<String,Object> getParametersFromMultiPart(javax.servlet.http.HttpServletRequest req) throws org.apache.commons.fileupload.FileUploadException, IOException
org.apache.commons.fileupload.FileUploadExceptionIOExceptionpublic static String getServerAddress()
public static void setServerAddress(String serverAddress)
public static int getServerPort()
public static void setServerPort(int serverPort)
public static String getContextPath()
public static void setContextPath(String contextPath)
Copyright © 2018 Suncode. All rights reserved.