public class ProtocolChange extends DynamoServlet
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLASS_VERSION |
static int |
DEFAULT_NON_SECURE_PORT |
static int |
DEFAULT_SECURE_PORT |
static ParameterName |
IN_URL |
static ParameterName |
NON_SECURE_URL |
static ParameterName |
OUTPUT |
static ParameterName |
SECURE_URL |
mAllowCleanupRequest, mParameters
SERVLET_INFO_KEY
SERVICE_INFO_KEY
DEFAULT_LOG_TRACE_STATUS
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS
Constructor and Description |
---|
ProtocolChange() |
Modifier and Type | Method and Description |
---|---|
int |
getDefaultNonSecurePort()
Deprecated.
|
int |
getDefaultSecurePort()
Deprecated.
|
java.lang.String |
getNonSecureHost() |
int |
getNonSecurePort() |
java.lang.String |
getNonSecureProtocol() |
java.lang.String |
getSecureHost() |
int |
getSecurePort() |
java.lang.String |
getSecureProtocol() |
boolean |
isEnable() |
void |
service(DynamoHttpServletRequest pReq,
DynamoHttpServletResponse pRes)
Service the request
|
void |
setDefaultNonSecurePort(int pDefaultNonSecurePort) |
void |
setDefaultSecurePort(int pDefaultSecurePort)
Deprecated.
|
void |
setEnable(boolean pEnable)
If this is true then the secureUrl and nonSecureUrl
output parameters will be fully qualified urls to
the appropriate secure or non secure server.
|
void |
setNonSecureHost(java.lang.String pNonSecureHost) |
void |
setNonSecurePort(int pNonSecurePort) |
void |
setNonSecureProtocol(java.lang.String pNonSecureProtocol)
Sets the property
nonSecureProtocol .Note, changing this property will NOT change the protocol used for non secure requests. http:// will always be used as the non secure protocol. |
void |
setSecureHost(java.lang.String pSecureHost) |
void |
setSecurePort(int pSecurePort) |
void |
setSecureProtocol(java.lang.String pSecureProtocol)
Sets the property
secureProtocol .Note, changing this property will NOT change the protocol used for secure requests. https:// will always be used as the secure protocol. |
doDelete, doGet, doPost, doPut, getParameter, getParameters, getServletContext, init, service, service, setParameter
destroy, getServletConfig, getServletInfo, setServletInfo
getAverageRequestHandlingTime, getHandledRequestCount, getRequestStartTime, getTotalRequestHandlingTime, isKeepingStatistics, notifyHandledRequest, resetStatistics, setKeepingStatistics
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopService
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning
public static java.lang.String CLASS_VERSION
public static final int DEFAULT_SECURE_PORT
public static final int DEFAULT_NON_SECURE_PORT
public static final ParameterName IN_URL
public static final ParameterName OUTPUT
public static final ParameterName SECURE_URL
public static final ParameterName NON_SECURE_URL
public void service(DynamoHttpServletRequest pReq, DynamoHttpServletResponse pRes) throws javax.servlet.ServletException, java.io.IOException
service
in class DynamoServlet
pReq
- the request to be processedpRes
- the response object for this requestjavax.servlet.ServletException
- an application specific error occurred
processing this requestjava.io.IOException
- an error occurred reading data from the request
or writing data to the response.public void setEnable(boolean pEnable)
public boolean isEnable()
public void setSecureHost(java.lang.String pSecureHost)
public java.lang.String getSecureHost()
public void setNonSecureHost(java.lang.String pNonSecureHost)
public java.lang.String getNonSecureHost()
public void setSecurePort(int pSecurePort)
public int getSecurePort()
public void setNonSecurePort(int pNonSecurePort)
public int getNonSecurePort()
public void setSecureProtocol(java.lang.String pSecureProtocol)
secureProtocol
.public java.lang.String getSecureProtocol()
public void setNonSecureProtocol(java.lang.String pNonSecureProtocol)
nonSecureProtocol
.public java.lang.String getNonSecureProtocol()
public void setDefaultSecurePort(int pDefaultSecurePort)
public int getDefaultSecurePort()
public void setDefaultNonSecurePort(int pDefaultNonSecurePort)
public int getDefaultNonSecurePort()