FileDocCategorySizeDatePackage
ProtocolHandler.javaAPI DocGlassfish v2 API2898Fri May 04 22:37:12 BST 2007com.sun.enterprise.web.portunif

ProtocolHandler

public interface ProtocolHandler
Once a TCP protocol has been found by a ProtocolFinder
author
Jeanfrancois Arcand

Fields Summary
Constructors Summary
Methods Summary
public booleanexpireKey(java.nio.channels.SelectionKey key)
Invoked when the SelectorThread is about to expire a SelectionKey.

return
true if the SelectorThread should expire the SelectionKey, false if not.

public java.lang.String[]getProtocols()
Return an array of TCP protocols supported by this ProtocolHandler.

public voidhandle(com.sun.enterprise.web.portunif.util.ProtocolInfo protocolInfo)
Handle the current request by either redirecting the request to a new port or by delivering the request to the proper endpoint.