Package jetbrains.buildServer.util
Class SimpleFileHttpServer
- java.lang.Object
-
- jetbrains.buildServer.util.SimpleHttpServerBase
-
- jetbrains.buildServer.util.SimpleHttpServer
-
- jetbrains.buildServer.util.SimpleFileHttpServer
-
public class SimpleFileHttpServer extends SimpleHttpServer
Author: Nikita.Skvortsov Date: 1/17/11
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jetbrains.buildServer.util.SimpleHttpServerBase
SimpleHttpServerBase.Response
-
-
Field Summary
Fields Modifier and Type Field Description protected File
myRoot
-
Fields inherited from class jetbrains.buildServer.util.SimpleHttpServer
myRequestsNumber, myResponses
-
Fields inherited from class jetbrains.buildServer.util.SimpleHttpServerBase
requestParser, STATUS_LINE_200, STATUS_LINE_201, STATUS_LINE_301, STATUS_LINE_304, STATUS_LINE_401, STATUS_LINE_404, STATUS_LINE_500
-
-
Constructor Summary
Constructors Constructor Description SimpleFileHttpServer(File serverRoot)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SimpleHttpServerBase.Response
getResponse(String request)
-
Methods inherited from class jetbrains.buildServer.util.SimpleHttpServer
getRequestsNumber, resetResponses, setConditionalResponse, setResponse, setResponse, setResponse
-
Methods inherited from class jetbrains.buildServer.util.SimpleHttpServerBase
createStreamResponse, createStreamResponse, createStringResponse, failNRequests, getFileResponse, getPort, getRequestPath, postProcessSocketData, processRequest, setWaitAfterAccept, start, stop
-
-
-
-
Field Detail
-
myRoot
protected File myRoot
-
-
Constructor Detail
-
SimpleFileHttpServer
public SimpleFileHttpServer(@NotNull File serverRoot)
-
-
Method Detail
-
getResponse
protected SimpleHttpServerBase.Response getResponse(String request)
- Overrides:
getResponse
in classSimpleHttpServer
-
-