# Uses of Interface
org.astrogrid.samp.httpd.HttpServer.Handler

Packages that use HttpServer.Handler
Package
Description
org.astrogrid.samp.httpd
Standalone HTTP server.
org.astrogrid.samp.web
Classes relating to the SAMP Web Profile.

## Uses of HttpServer.Handler in org.astrogrid.samp.httpd

Classes in org.astrogrid.samp.httpd that implement HttpServer.Handler
Modifier and Type
Class
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.
Methods in org.astrogrid.samp.httpd with parameters of type HttpServer.Handler
Modifier and Type
Method
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)`.

## Uses of HttpServer.Handler in org.astrogrid.samp.web

Classes in org.astrogrid.samp.web that implement HttpServer.Handler
Modifier and Type
Class
Description
`class`
`OpenPolicyResourceHandler`
HTTP resource handler suitable for serving static cross-origin policy files.
Methods in org.astrogrid.samp.web that return HttpServer.Handler
Modifier and Type
Method
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.