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 |
---|---|
private static HttpServer.Request |
HttpServer.parseRequest(java.io.InputStream in,
java.net.SocketAddress remoteAddress)
Takes the input stream from a client connection and turns it into
a Request object.
|
Modifier and Type | Method and Description |
---|---|
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 | Method and Description |
---|---|
boolean |
HubSwingClientAuthorizer.authorize(HttpServer.Request request,
java.lang.String appName) |
boolean |
ClientAuthorizer.authorize(HttpServer.Request request,
java.lang.String appName)
Indicates whether an HTTP request representing an otherwise
unauthorized connection attempt will be permitted access to
sensitive system resources.
|
boolean |
ExtremeSwingClientAuthorizer.authorize(HttpServer.Request request,
java.lang.String appName) |
private HttpServer.Response |
CorsHttpServer.createNonLocalErrorResponse(HttpServer.Request request) |
private java.lang.Object[] |
HubSwingClientAuthorizer.getMessageLines(HttpServer.Request request,
java.lang.String appName,
AuthResourceBundle.Content authContent)
Returns a "message" object describing the applying client to the user.
|
private void |
LoggingCorsHttpServer.logRequest(HttpServer.Request request,
int iseq)
Logs a given request.
|
RegInfo |
WebHubXmlRpcHandler.WebHubActorImpl.register(HttpServer.Request request,
java.util.Map securityMap)
Attempt client registration.
|
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.
|
Modifier and Type | Method and Description |
---|---|
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) |
private java.lang.Object |
InternalServer.getXmlRpcResult(HttpServer.Request request)
Returns the SAMP-friendly (string, list and map only) object representing
the reply to an XML-RPC request given by a request.
|
protected java.lang.Object |
InternalServer.handleCall(SampXmlRpcHandler handler,
java.lang.String methodName,
java.util.List paramList,
HttpServer.Request request)
Actually passes the XML-RPC method name and parameter list to one
of the registered servers for processing.
|
protected java.lang.Object |
RpcLoggingInternalServer.handleCall(SampXmlRpcHandler handler,
java.lang.String methodName,
java.util.List paramList,
HttpServer.Request request) |