Package | Description |
---|---|
org.astrogrid.samp.bridge |
Classes for the SAMP Bridge.
|
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 |
---|---|
HttpServer.Response |
IconAdjuster.serveRequest(HttpServer.Request request) |
Modifier and Type | Method and Description |
---|---|
static HttpServer.Response |
HttpServer.create405Response(java.lang.String[] supportedMethods)
Creates an HTTP response indicating that the requested method
(GET, POST, etc) is not supported.
|
static HttpServer.Response |
HttpServer.createErrorResponse(int code,
java.lang.String phrase)
Utility method to create an error response.
|
static HttpServer.Response |
HttpServer.createErrorResponse(int code,
java.lang.String phrase,
java.lang.Throwable e)
Utility method to create an error response given an exception.
|
(package private) HttpServer.Response |
HttpServer.HttpException.createResponse()
Turns this exception into a response object.
|
static HttpServer.Response |
URLMapperHandler.mapUrlResponse(java.lang.String method,
java.net.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 |
ResourceHandler.serveRequest(HttpServer.Request request) |
HttpServer.Response |
MultiURLMapperHandler.serveRequest(HttpServer.Request request) |
HttpServer.Response |
HttpServer.Handler.serveRequest(HttpServer.Request request)
Provides a response to an HTTP request.
|
Modifier and Type | Class and Description |
---|---|
private class |
LoggingCorsHttpServer.LoggedResponse
HTTP response which will log its content at an appropriate time.
|
Modifier and Type | Field and Description |
---|---|
private HttpServer.Response |
LoggingCorsHttpServer.LoggedResponse.base_ |
private HttpServer.Response |
OpenPolicyResourceHandler.response405_ |
Modifier and Type | Method and Description |
---|---|
private HttpServer.Response |
CorsHttpServer.createNonLocalErrorResponse(HttpServer.Request request) |
HttpServer.Response |
LoggingCorsHttpServer.serve(HttpServer.Request request) |
HttpServer.Response |
CorsHttpServer.serve(HttpServer.Request request) |
private HttpServer.Response |
CorsHttpServer.servePreflightOriginRequest(HttpServer.Request request,
java.lang.String originTxt,
java.lang.String reqMethod)
Does the work for serving pre-flight requests.
|
HttpServer.Response |
OpenPolicyResourceHandler.serveRequest(HttpServer.Request request) |
HttpServer.Response |
WebHubXmlRpcHandler.URLTranslationHandler.serveRequest(HttpServer.Request request) |
private HttpServer.Response |
CorsHttpServer.serveSimpleOriginRequest(HttpServer.Request request,
java.lang.String originTxt)
Does the work for serving simple requests which bear an
origin header.
|
Constructor and Description |
---|
LoggedResponse(HttpServer.Response base,
int iseq,
boolean logBody)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
private class |
XmlLoggingInternalServer.LoggingResponse |
Modifier and Type | Field and Description |
---|---|
(package private) HttpServer.Response |
XmlLoggingInternalServer.LoggingResponse.base_ |
private static HttpServer.Response |
InternalServer.GET_RESPONSE |
private static HttpServer.Response |
InternalServer.HEAD_RESPONSE |
Modifier and Type | Method and Description |
---|---|
private static HttpServer.Response |
InternalServer.createInfoResponse(boolean withData)
Returns a simple response suitable for GET/HEAD at the XML-RPC
server's endpoint.
|
protected HttpServer.Response |
InternalServer.getXmlRpcResponse(HttpServer.Request request)
Returns the HTTP response object given an incoming XML-RPC POST request.
|
protected HttpServer.Response |
XmlLoggingInternalServer.getXmlRpcResponse(HttpServer.Request request) |
Constructor and Description |
---|
LoggingResponse(HttpServer.Response base) |