Methods Summary |
---|
public void | generateConstraints(java.util.Vector urls, java.util.Vector methods, java.util.Vector roles, boolean isSSL)
for( int i=0; i<urls.size(); i++ ) {
String url=(String)urls.elementAt(i);
out.println("[url:" + vhost + cpath + url + "]");
out.println( "group=" + worker );
out.println( "host=" + vhost);
out.println( "context=" + cpath);
for( int j=0; j<roles.size(); j++ ) {
String role=(String)roles.elementAt(j);
out.println( "role=" + role);
}
for( int j=0; j<methods.size(); j++ ) {
String m=(String)methods.elementAt(j);
out.println( "method=" + m);
}
if( isSSL )
out.println("ssl=true");
}
|
public void | generateEnd()
out.close();
|
public void | generateErrorPage(int err, java.lang.String location)
|
public void | generateFilterMapping(java.lang.String servlet, java.lang.String url)
out.println( "[url:" + vhost + cpath + url + "]");
out.println( "group=" + worker );
out.println( "filter=" + servlet);
out.println( "host=" + vhost);
out.println( "context=" + cpath);
out.println();
|
public void | generateLoginConfig(java.lang.String loginPage, java.lang.String errPage, java.lang.String authM)
out.println("[url:" + vhost + cpath + loginPage + "]" );
out.println( "group=" + worker );
out.println( "host=" + vhost);
out.println( "context=" + cpath);
out.println();
out.println("[url:" + vhost + cpath + errPage + "]" );
out.println( "group=" + worker );
out.println( "host=" + vhost);
out.println( "context=" + cpath);
out.println();
|
public void | generateMimeMapping(java.lang.String ext, java.lang.String type)
|
public void | generateServletMapping(java.lang.String servlet, java.lang.String url)
out.println( "[uri:" + vhost + cpath + url + "]");
out.println( "group=" + worker );
out.println( "servlet=" + servlet);
out.println( "host=" + vhost);
out.println( "context=" + cpath);
out.println();
|
public void | generateStart()
File base=wxml.getJkDir();
File outF=new File(base, "jk2map.properties");
out=new PrintWriter( new FileWriter( outF ));
out.println("# Autogenerated from web.xml" );
|
public void | generateWelcomeFiles(java.util.Vector wf)
|
public void | setWebXmlReader(WebXml2Jk wxml)
this.wxml=wxml;
vhost=wxml.vhost;
cpath=wxml.cpath;
worker=wxml.worker;
|