org.apache.ftpserver.command.impl
Class OPTS_UTF8

java.lang.Object
  extended by org.apache.ftpserver.command.AbstractCommand
      extended by org.apache.ftpserver.command.impl.OPTS_UTF8
All Implemented Interfaces:
Command

public class OPTS_UTF8
extends AbstractCommand

Internal class, do not use directly. Client-Server encoding negotiation. Force server from default encoding to UTF-8 and back. Note that the servers default encoding is UTF-8. So this command has no effect.

Author:
Apache MINA Project

Constructor Summary
OPTS_UTF8()
           
 
Method Summary
 void execute(FtpIoSession session, FtpServerContext context, FtpRequest request)
          Execute command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OPTS_UTF8

public OPTS_UTF8()
Method Detail

execute

public void execute(FtpIoSession session,
                    FtpServerContext context,
                    FtpRequest request)
             throws IOException,
                    FtpException
Execute command.

Parameters:
session - The current FtpIoSession
context - The current FtpServerContext
request - The current FtpRequest
Throws:
IOException
FtpException


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.