Package | Description |
---|---|
org.astrogrid.samp.httpd |
Standalone HTTP server.
|
org.astrogrid.samp.web |
Classes relating to the SAMP Web Profile.
|
org.astrogrid.samp.xmlrpc.internal |
Implementation of pluggable XML-RPC layer which requires
no external dependencies.
|
Modifier and Type | Method and Description |
---|---|
static HttpServer.Response |
HttpServer.create405Response(String[] supportedMethods)
Creates an HTTP response indicating that the requested method
(GET, POST, etc) is not supported.
|
static HttpServer.Response |
HttpServer.createErrorResponse(int code,
String phrase)
Utility method to create an error response.
|
static HttpServer.Response |
HttpServer.createErrorResponse(int code,
String phrase,
Throwable e)
Utility method to create an error response given an exception.
|
static HttpServer.Response |
URLMapperHandler.mapUrlResponse(String method,
URL targetUrl)
Repackages a resource from a given target URL as an HTTP response.
|
HttpServer.Response |
HttpServer.serve(HttpServer.Request request)
Does the work for providing output corresponding to a given HTTP request.
|
HttpServer.Response |
URLMapperHandler.serveRequest(HttpServer.Request request) |
HttpServer.Response |
MultiURLMapperHandler.serveRequest(HttpServer.Request request) |
HttpServer.Response |
DirectoryMapperHandler.serveRequest(HttpServer.Request request) |
HttpServer.Response |
HttpServer.Handler.serveRequest(HttpServer.Request request)
Provides a response to an HTTP request.
|
HttpServer.Response |
ResourceHandler.serveRequest(HttpServer.Request request) |
Modifier and Type | Method and Description |
---|---|
static HttpServer.Response |
CorsHttpServer.createNonLocalErrorResponse(HttpServer.Request request)
Returns an HTTP error response complaining about attempted access
from a disallowed host.
|
HttpServer.Response |
LoggingCorsHttpServer.serve(HttpServer.Request request) |
HttpServer.Response |
CorsHttpServer.serve(HttpServer.Request request) |
HttpServer.Response |
OpenPolicyResourceHandler.serveRequest(HttpServer.Request request) |
Modifier and Type | Method and Description |
---|---|
protected HttpServer.Response |
XmlLoggingInternalServer.getXmlRpcResponse(HttpServer.Request request) |
protected HttpServer.Response |
InternalServer.getXmlRpcResponse(HttpServer.Request request)
Returns the HTTP response object given an incoming XML-RPC POST request.
|
Copyright © 2008–2024. All rights reserved.