public static class HttpDeployer.ArtifactsHandler extends Object implements com.sun.net.httpserver.HttpHandler
HttpHandler implementation that serves a list
of DeploymentArtifacts as files.| Constructor and Description |
|---|
ArtifactsHandler(Map<String,DeploymentArtifact> artifacts,
com.oracle.bedrock.Option... options)
|
| Modifier and Type | Method and Description |
|---|---|
void |
handle(com.sun.net.httpserver.HttpExchange httpExchange) |
public ArtifactsHandler(Map<String,DeploymentArtifact> artifacts, com.oracle.bedrock.Option... options)
artifacts - the DeploymentArtifacts to serveoptions - the Options controlling the HttpDeployer.ArtifactsHandlerpublic void handle(com.sun.net.httpserver.HttpExchange httpExchange)
throws IOException
handle in interface com.sun.net.httpserver.HttpHandlerIOExceptionCopyright © 2017. All rights reserved.