| |
|
| org.apache.james.nntpserver.NNTPHandler
NNTPHandler | public class NNTPHandler extends AbstractLogEnabled implements ConnectionHandler,Poolable(Code) | | The NNTP protocol is defined by RFC 977.
This implementation is based on IETF draft 15, posted on 15th July '2002.
URL: http://www.ietf.org/internet-drafts/draft-ietf-nntpext-base-15.txt
Common NNTP extensions are in RFC 2980.
|
Field Summary | |
final public static long | UTC_OFFSET The UTC offset for this time zone. | boolean | isAlreadyAuthenticated Whether the user for this session has already authenticated. |
UTC_OFFSET | final public static long UTC_OFFSET(Code) | | The UTC offset for this time zone.
|
isAlreadyAuthenticated | boolean isAlreadyAuthenticated(Code) | | Whether the user for this session has already authenticated.
Used to optimize authentication checks
|
getWatchdogTarget | WatchdogTarget getWatchdogTarget()(Code) | | Gets the Watchdog Target that should be used by Watchdogs managing
this connection.
the WatchdogTarget |
handleConnection | public void handleConnection(Socket connection) throws IOException(Code) | | See Also: org.apache.avalon.cornerstone.services.connection.ConnectionHandler.handleConnection(Socket) |
idleClose | void idleClose()(Code) | | Idle out this connection
|
setConfigurationData | void setConfigurationData(NNTPHandlerConfigurationData theData)(Code) | | Set the configuration data for the handler
Parameters: theData - configuration data for the handler |
setWatchdog | void setWatchdog(Watchdog theWatchdog)(Code) | | Set the Watchdog for use by this handler.
Parameters: theWatchdog - the watchdog |
writeLoggedFlushedResponse | final void writeLoggedFlushedResponse(String responseString)(Code) | | Write and flush a response string. The response is also logged.
Should be used for the last line of a multi-line response or
for a single line response.
Parameters: responseString - the response string sent to the client |
writeLoggedResponse | final void writeLoggedResponse(String responseString)(Code) | | Write a response string. The response is also logged.
Used for multi-line responses.
Parameters: responseString - the response string sent to the client |
|
|
|