Fixed compile errors by transferring more of the changes to this new branch. Previous upload doesn't compile.

This commit is contained in:
wcrisman
2014-12-07 18:34:03 -08:00
parent 2adcfad863
commit ae1de97e91
6 changed files with 46 additions and 1 deletions

View File

@@ -7,13 +7,22 @@ import com.foundation.web.WebApplication.PathSubstitution;
import com.foundation.web.interfaces.IConnectionContext;
import com.foundation.web.interfaces.IRequest;
import com.foundation.web.interfaces.IResponse;
import com.foundation.web.interfaces.ISession;
public class DefaultResourceRequestHandler extends ResourceRequestHandler {
private IHashMap nameSubstitutionMap = new LiteHashMap(10);
private IHashMap pathSubstitutionMap = new LiteHashMap(10);
/**
* DefaultResourceRequestHandler constructor.
*/
public DefaultResourceRequestHandler() {
}//DefaultResourceRequestHandler()//
/* (non-Javadoc)
* @see com.foundation.web.ResourceRequestHandler#processWebSocketUpgrade(com.foundation.web.interfaces.IRequest, com.foundation.web.interfaces.IResponse, com.foundation.web.interfaces.ISession, boolean, boolean, com.foundation.web.interfaces.IConnectionContext, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)
*/
public void processWebSocketUpgrade(IRequest request, IResponse response, ISession session, boolean isSecure, boolean clientHadBadSession, IConnectionContext connectionContext, String connection, String secWebSocketKey, String secWebSocketProtocol, String secWebSocketVersion, String origin) {
response.setError(IResponse.ERROR_UPGRADE_REJECTED);
}//processWebSocketUpgrade()//
/**
* Adds a resource name subtitution mapping where the old resource name will be replaced by the new resource name automatically prior to the request being processed.
* @param oldName The old resource name.