public class ProxySLDServlet extends GeneralServlet
| Modifier and Type | Field and Description |
|---|---|
static String |
mimeType |
static String |
PARAM_ORIGINAL_SLD_BODY |
static String |
PARAM_ORIGINAL_SLD_URL |
static String |
PARAM_SERVICEPROVIDER_ID |
static String |
PARAM_STYLES |
| Constructor and Description |
|---|
ProxySLDServlet() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addSLDToCache(String sldUrl) |
static void |
clearCache() |
String |
getServletInfo()
Returns a short description of the
|
void |
parseRequestAndData(DataWrapper data,
User user)
Parses any incoming request and redirects this request to the right
handler.
|
protected void |
processRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Processes the incoming request and calls the various methods to create
the right output stream.
|
calcOGCRequest, checkLogin, checkLogin, checkLoginAlreadyLoggedIn, checkLoginLDAP, checkLoginPersonalCode, checkLoginPreemptiveAuthentication, completeUrl, createBaseUrl, createBaseUrl, decodeBasicAuthorizationString, doGet, doPost, init, isRemoteAddressWithinIpRange, parsePassword, parseUsername, requestUrldoDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic static final String PARAM_ORIGINAL_SLD_URL
public static final String PARAM_ORIGINAL_SLD_BODY
public static final String PARAM_SERVICEPROVIDER_ID
public static final String PARAM_STYLES
public static final String mimeType
protected void processRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
GeneralServletprocessRequest in class GeneralServletrequest - servlet requestresponse - servlet responsejavax.servlet.ServletExceptionIOExceptionpublic static void addSLDToCache(String sldUrl)
public static void clearCache()
public void parseRequestAndData(DataWrapper data, User user) throws IllegalArgumentException, UnsupportedOperationException, IOException, Exception
GeneralServletparseRequestAndData in class GeneralServletdata - map with the given parametersuser - database userIllegalArgumentExceptionUnsupportedOperationExceptionIOExceptionExceptionpublic String getServletInfo()
GeneralServletgetServletInfo in interface javax.servlet.ServletgetServletInfo in class GeneralServletCopyright © 2016. All rights reserved.