public class WebServerHandler extends java.lang.Object implements ValueFactory<org.eclipse.jetty.server.Handler>, ArooaSessionAware
ValueFactory.Conversions
Constructor and Description |
---|
WebServerHandler() |
Modifier and Type | Method and Description |
---|---|
RemoteIdMappings |
getIdMappings() |
MultipartConfigParameters |
getMultiPartConfig() |
RemoteConnection |
getRemoteConnection() |
java.io.File |
getUploadDirectory() |
boolean |
isAllowCrossOrigin() |
void |
setAllowCrossOrigin(boolean allowCrossOrigin) |
void |
setArooaSession(ArooaSession session)
Accept the current Arooa Session.
|
void |
setIdMappings(RemoteIdMappings idMappings) |
void |
setMultiPartConfig(MultipartConfigParameters multiPartConfig) |
void |
setRemoteConnection(RemoteConnection remoteConnection) |
void |
setUploadDirectory(java.io.File uploadDirectory) |
org.eclipse.jetty.server.Handler |
toValue()
Provide an instance of the type this is a factory for.
|
public void setArooaSession(ArooaSession session)
ArooaSessionAware
setArooaSession
in interface ArooaSessionAware
session
- The Arooa Session. Never null.public org.eclipse.jetty.server.Handler toValue()
ValueFactory
toValue
in interface ValueFactory<org.eclipse.jetty.server.Handler>
public RemoteConnection getRemoteConnection()
public void setRemoteConnection(RemoteConnection remoteConnection)
public RemoteIdMappings getIdMappings()
public void setIdMappings(RemoteIdMappings idMappings)
public MultipartConfigParameters getMultiPartConfig()
public void setMultiPartConfig(MultipartConfigParameters multiPartConfig)
public java.io.File getUploadDirectory()
public void setUploadDirectory(java.io.File uploadDirectory)
public boolean isAllowCrossOrigin()
public void setAllowCrossOrigin(boolean allowCrossOrigin)