com.caucho.protocols.flash
Class SocketPolicyProtocol
java.lang.Object
com.caucho.network.listen.AbstractProtocol
com.caucho.server.http.AbstractHttpProtocol
com.caucho.protocols.flash.SocketPolicyProtocol
- All Implemented Interfaces:
- Protocol
public class SocketPolicyProtocol
- extends AbstractHttpProtocol
Simple protocol that sends the contents of a specified file as soon
as it is contacted. It is intended for sending flash policy files
for flash.net.Sockets when the target port of the socket is < 1024.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SocketPolicyProtocol
public SocketPolicyProtocol()
setSocketPolicyFile
public void setSocketPolicyFile(Path path)
setPolicyFile
public void setPolicyFile(Path path)
- Sets the flash socket policy file.
init
@PostConstruct
public void init()
createConnection
public ProtocolConnection createConnection(SocketLink conn)
- Description copied from class:
AbstractProtocol
- Create a Request object for the new thread.
- Specified by:
createConnection
in interface Protocol
- Specified by:
createConnection
in class AbstractProtocol