public class DefaultConfigUploadAuExtension
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
CONFIG_UPLOAD |
protected static java.lang.String |
CONFIG_VALIDATE |
static java.lang.String |
I18N_CONFIG_PERSISTENCE_FAILED_GENERIC_MESSAGE |
| Constructor and Description |
|---|
DefaultConfigUploadAuExtension() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
protected java.lang.String |
fetchConfigFromRequest(HttpServletRequest request) |
protected void |
formatConfigValidationResponse(SchemaValidationStatus status,
HttpServletResponse response) |
ApplicationContext |
getApplicationContext(HttpServletRequest request) |
protected CockpitAdminService |
getCockpitAdminService(HttpServletRequest request) |
protected DefaultCockpitConfigurationService |
getCockpitConfigurationService(HttpServletRequest request) |
protected CockpitProperties |
getCockpitProperties(HttpServletRequest request) |
protected CockpitSessionService |
getCockpitSessionService(HttpServletRequest request) |
protected javax.xml.bind.Unmarshaller |
getConfigUnmarshaller(HttpServletRequest request) |
protected Config |
getConfigWithAppliedChanges(Config changes,
HttpServletRequest request) |
protected java.io.InputStream |
getInputStream(HttpServletRequest request) |
protected java.lang.String |
getValidationLabelForStatus(SchemaValidationStatus status) |
protected void |
handleConfigUpload(HttpServletRequest request,
HttpServletResponse response) |
protected void |
handleConfigValidate(HttpServletRequest request,
HttpServletResponse response) |
protected void |
handleError(HttpServletResponse response,
java.lang.Exception error) |
void |
init(DHtmlUpdateServlet servlet) |
protected boolean |
isConfigurationFiltered(HttpServletRequest request) |
void |
service(HttpServletRequest request,
HttpServletResponse response,
java.lang.String pi) |
protected boolean |
shouldValidateCockpitConfig(HttpServletRequest request) |
protected void |
storeConfig(java.lang.String xml,
HttpServletRequest request,
HttpServletResponse response) |
protected static final java.lang.String CONFIG_VALIDATE
protected static final java.lang.String CONFIG_UPLOAD
public static final java.lang.String I18N_CONFIG_PERSISTENCE_FAILED_GENERIC_MESSAGE
public void init(DHtmlUpdateServlet servlet)
public void destroy()
public void service(HttpServletRequest request,
HttpServletResponse response,
java.lang.String pi)
protected void handleConfigValidate(HttpServletRequest request,
HttpServletResponse response)
protected void formatConfigValidationResponse(SchemaValidationStatus status,
HttpServletResponse response)
protected java.io.InputStream getInputStream(HttpServletRequest request)
throws java.io.IOException
java.io.IOExceptionprotected java.lang.String getValidationLabelForStatus(SchemaValidationStatus status)
protected void handleConfigUpload(HttpServletRequest request,
HttpServletResponse response)
protected java.lang.String fetchConfigFromRequest(HttpServletRequest request)
throws java.io.IOException
java.io.IOExceptionprotected void storeConfig(java.lang.String xml,
HttpServletRequest request,
HttpServletResponse response)
protected boolean isConfigurationFiltered(HttpServletRequest request)
protected void handleError(HttpServletResponse response,
java.lang.Exception error)
protected boolean shouldValidateCockpitConfig(HttpServletRequest request)
protected CockpitProperties getCockpitProperties(HttpServletRequest request)
protected CockpitAdminService getCockpitAdminService(HttpServletRequest request)
protected javax.xml.bind.Unmarshaller getConfigUnmarshaller(HttpServletRequest request)
throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBExceptionprotected Config getConfigWithAppliedChanges(Config changes,
HttpServletRequest request)
throws CockpitConfigurationException
CockpitConfigurationExceptionprotected DefaultCockpitConfigurationService getCockpitConfigurationService(HttpServletRequest request)
protected CockpitSessionService getCockpitSessionService(HttpServletRequest request)
public ApplicationContext getApplicationContext(HttpServletRequest request)
Copyright © 2018 SAP SE. All Rights Reserved.