📄 ftpletcontainer.java
字号:
}
return retVal;
}
/**
* Call ftplet onDownloadStart.
*/
public FtpletEnum onDownloadStart(FtpRequest request, FtpResponse response) throws FtpException, IOException {
FtpletEnum retVal = FtpletEnum.RET_DEFAULT;
int sz = m_ftplets.size();
for(int i=0; i<sz; ++i) {
FtpletEntry ftpletEnt = (FtpletEntry)m_ftplets.get(i);
retVal = ftpletEnt.ftplet.onDownloadStart(request, response);
if(retVal == null) {
retVal = FtpletEnum.RET_DEFAULT;
}
// proceed only if the return value is FtpletEnum.RET_DEFAULT
if(retVal != FtpletEnum.RET_DEFAULT) {
break;
}
}
return retVal;
}
/**
* Call ftplet onDownloadEnd.
*/
public FtpletEnum onDownloadEnd(FtpRequest request, FtpResponse response) throws FtpException, IOException {
FtpletEnum retVal = FtpletEnum.RET_DEFAULT;
int sz = m_ftplets.size();
for(int i=0; i<sz; ++i) {
FtpletEntry ftpletEnt = (FtpletEntry)m_ftplets.get(i);
retVal = ftpletEnt.ftplet.onDownloadEnd(request, response);
if(retVal == null) {
retVal = FtpletEnum.RET_DEFAULT;
}
// proceed only if the return value is FtpletEnum.RET_DEFAULT
if(retVal != FtpletEnum.RET_DEFAULT) {
break;
}
}
return retVal;
}
/**
* Call ftplet onRmdirStart.
*/
public FtpletEnum onRmdirStart(FtpRequest request, FtpResponse response) throws FtpException, IOException {
FtpletEnum retVal = FtpletEnum.RET_DEFAULT;
int sz = m_ftplets.size();
for(int i=0; i<sz; ++i) {
FtpletEntry ftpletEnt = (FtpletEntry)m_ftplets.get(i);
retVal = ftpletEnt.ftplet.onRmdirStart(request, response);
if(retVal == null) {
retVal = FtpletEnum.RET_DEFAULT;
}
// proceed only if the return value is FtpletEnum.RET_DEFAULT
if(retVal != FtpletEnum.RET_DEFAULT) {
break;
}
}
return retVal;
}
/**
* Call ftplet onRmdirEnd.
*/
public FtpletEnum onRmdirEnd(FtpRequest request, FtpResponse response) throws FtpException, IOException {
FtpletEnum retVal = FtpletEnum.RET_DEFAULT;
int sz = m_ftplets.size();
for(int i=0; i<sz; ++i) {
FtpletEntry ftpletEnt = (FtpletEntry)m_ftplets.get(i);
retVal = ftpletEnt.ftplet.onRmdirEnd(request, response);
if(retVal == null) {
retVal = FtpletEnum.RET_DEFAULT;
}
// proceed only if the return value is FtpletEnum.RET_DEFAULT
if(retVal != FtpletEnum.RET_DEFAULT) {
break;
}
}
return retVal;
}
/**
* Call ftplet onMkdirStart.
*/
public FtpletEnum onMkdirStart(FtpRequest request, FtpResponse response) throws FtpException, IOException {
FtpletEnum retVal = FtpletEnum.RET_DEFAULT;
int sz = m_ftplets.size();
for(int i=0; i<sz; ++i) {
FtpletEntry ftpletEnt = (FtpletEntry)m_ftplets.get(i);
retVal = ftpletEnt.ftplet.onMkdirStart(request, response);
if(retVal == null) {
retVal = FtpletEnum.RET_DEFAULT;
}
// proceed only if the return value is FtpletEnum.RET_DEFAULT
if(retVal != FtpletEnum.RET_DEFAULT) {
break;
}
}
return retVal;
}
/**
* Call ftplet onMkdirEnd.
*/
public FtpletEnum onMkdirEnd(FtpRequest request, FtpResponse response) throws FtpException, IOException {
FtpletEnum retVal = FtpletEnum.RET_DEFAULT;
int sz = m_ftplets.size();
for(int i=0; i<sz; ++i) {
FtpletEntry ftpletEnt = (FtpletEntry)m_ftplets.get(i);
retVal = ftpletEnt.ftplet.onMkdirEnd(request, response);
if(retVal == null) {
retVal = FtpletEnum.RET_DEFAULT;
}
// proceed only if the return value is FtpletEnum.RET_DEFAULT
if(retVal != FtpletEnum.RET_DEFAULT) {
break;
}
}
return retVal;
}
/**
* Call ftplet onAppendStart.
*/
public FtpletEnum onAppendStart(FtpRequest request, FtpResponse response) throws FtpException, IOException {
FtpletEnum retVal = FtpletEnum.RET_DEFAULT;
int sz = m_ftplets.size();
for(int i=0; i<sz; ++i) {
FtpletEntry ftpletEnt = (FtpletEntry)m_ftplets.get(i);
retVal = ftpletEnt.ftplet.onAppendStart(request, response);
if(retVal == null) {
retVal = FtpletEnum.RET_DEFAULT;
}
// proceed only if the return value is FtpletEnum.RET_DEFAULT
if(retVal != FtpletEnum.RET_DEFAULT) {
break;
}
}
return retVal;
}
/**
* Call ftplet onAppendEnd.
*/
public FtpletEnum onAppendEnd(FtpRequest request, FtpResponse response) throws FtpException, IOException {
FtpletEnum retVal = FtpletEnum.RET_DEFAULT;
int sz = m_ftplets.size();
for(int i=0; i<sz; ++i) {
FtpletEntry ftpletEnt = (FtpletEntry)m_ftplets.get(i);
retVal = ftpletEnt.ftplet.onAppendEnd(request, response);
if(retVal == null) {
retVal = FtpletEnum.RET_DEFAULT;
}
// proceed only if the return value is FtpletEnum.RET_DEFAULT
if(retVal != FtpletEnum.RET_DEFAULT) {
break;
}
}
return retVal;
}
/**
* Call ftplet onUploadUniqueStart.
*/
public FtpletEnum onUploadUniqueStart(FtpRequest request, FtpResponse response) throws FtpException, IOException {
FtpletEnum retVal = FtpletEnum.RET_DEFAULT;
int sz = m_ftplets.size();
for(int i=0; i<sz; ++i) {
FtpletEntry ftpletEnt = (FtpletEntry)m_ftplets.get(i);
retVal = ftpletEnt.ftplet.onUploadUniqueStart(request, response);
if(retVal == null) {
retVal = FtpletEnum.RET_DEFAULT;
}
// proceed only if the return value is FtpletEnum.RET_DEFAULT
if(retVal != FtpletEnum.RET_DEFAULT) {
break;
}
}
return retVal;
}
/**
* Call ftplet onUploadUniqueEnd.
*/
public FtpletEnum onUploadUniqueEnd(FtpRequest request, FtpResponse response) throws FtpException, IOException {
FtpletEnum retVal = FtpletEnum.RET_DEFAULT;
int sz = m_ftplets.size();
for(int i=0; i<sz; ++i) {
FtpletEntry ftpletEnt = (FtpletEntry)m_ftplets.get(i);
retVal = ftpletEnt.ftplet.onUploadUniqueEnd(request, response);
if(retVal == null) {
retVal = FtpletEnum.RET_DEFAULT;
}
// proceed only if the return value is FtpletEnum.RET_DEFAULT
if(retVal != FtpletEnum.RET_DEFAULT) {
break;
}
}
return retVal;
}
/**
* Call ftplet onRenameStart.
*/
public FtpletEnum onRenameStart(FtpRequest request, FtpResponse response) throws FtpException, IOException {
FtpletEnum retVal = FtpletEnum.RET_DEFAULT;
int sz = m_ftplets.size();
for(int i=0; i<sz; ++i) {
FtpletEntry ftpletEnt = (FtpletEntry)m_ftplets.get(i);
retVal = ftpletEnt.ftplet.onRenameStart(request, response);
if(retVal == null) {
retVal = FtpletEnum.RET_DEFAULT;
}
// proceed only if the return value is FtpletEnum.RET_DEFAULT
if(retVal != FtpletEnum.RET_DEFAULT) {
break;
}
}
return retVal;
}
/**
* Call ftplet onRenameEnd.
*/
public FtpletEnum onRenameEnd(FtpRequest request, FtpResponse response) throws FtpException, IOException {
FtpletEnum retVal = FtpletEnum.RET_DEFAULT;
int sz = m_ftplets.size();
for(int i=0; i<sz; ++i) {
FtpletEntry ftpletEnt = (FtpletEntry)m_ftplets.get(i);
retVal = ftpletEnt.ftplet.onRenameEnd(request, response);
if(retVal == null) {
retVal = FtpletEnum.RET_DEFAULT;
}
// proceed only if the return value is FtpletEnum.RET_DEFAULT
if(retVal != FtpletEnum.RET_DEFAULT) {
break;
}
}
return retVal;
}
/**
* Call ftplet onSite.
*/
public FtpletEnum onSite(FtpRequest request, FtpResponse response) throws FtpException, IOException {
FtpletEnum retVal = FtpletEnum.RET_DEFAULT;
int sz = m_ftplets.size();
for(int i=0; i<sz; ++i) {
FtpletEntry ftpletEnt = (FtpletEntry)m_ftplets.get(i);
retVal = ftpletEnt.ftplet.onSite(request, response);
if(retVal == null) {
retVal = FtpletEnum.RET_DEFAULT;
}
// proceed only if the return value is FtpletEnum.RET_DEFAULT
if(retVal != FtpletEnum.RET_DEFAULT) {
break;
}
}
return retVal;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -