Package | Description |
---|---|
org.astrogrid.samp.httpd |
Standalone HTTP server.
|
org.astrogrid.samp.web |
Classes relating to the SAMP Web Profile.
|
Modifier and Type | Class and Description |
---|---|
class |
DirectoryMapperHandler
Handler implementation which allows the server to serve a directory
full of resources.
|
class |
MultiURLMapperHandler
Handler implementation which allows the server to serve multiple
separate resources which are available to it, but not necessarily to
external clients, as URLs.
|
class |
ResourceHandler
Handler implementation which implements dynamic resource provision.
|
class |
URLMapperHandler
Handler implementation which allows the server to serve resources which
are available to it as URLs.
|
Modifier and Type | Method and Description |
---|---|
void |
HttpServer.addHandler(HttpServer.Handler handler)
Adds a handler which can serve some requests going through this server.
|
void |
HttpServer.removeHandler(HttpServer.Handler handler)
Removes a handler previously added by
HttpServer.addHandler(org.astrogrid.samp.httpd.HttpServer.Handler) . |
Modifier and Type | Class and Description |
---|---|
class |
OpenPolicyResourceHandler
HTTP resource handler suitable for serving static cross-origin policy files.
|
Modifier and Type | Method and Description |
---|---|
static HttpServer.Handler |
OpenPolicyResourceHandler.createFlashPolicyHandler(OriginAuthorizer oAuth)
Returns a handler which can serve the /crossdomain.xml file
used by Adobe Flash.
|
static HttpServer.Handler |
OpenPolicyResourceHandler.createPolicyHandler(String path,
URL contentUrl,
String contentType,
OriginAuthorizer oAuth)
Creates a handler suitable for serving static cross-origin policy files.
|
static HttpServer.Handler |
OpenPolicyResourceHandler.createSilverlightPolicyHandler(OriginAuthorizer oAuth)
Returns a handler which can serve the /clientaccesspolicy.xml file
used by Microsoft Silverlight.
|
HttpServer.Handler |
WebHubXmlRpcHandler.getUrlTranslationHandler()
Returns a handler suitable for performing URL translations on behalf
of sandboxed clients as required by the Web Profile.
|
Copyright © 2008–2024. All rights reserved.