Package org.eclipse.jgit.transport
Class TransportHttp.Service
java.lang.Object
org.eclipse.jgit.transport.TransportHttp.Service
- Direct Known Subclasses:
TransportHttp.LongPollService
,TransportHttp.MultiRequestService
- Enclosing class:
TransportHttp
Basic service for sending and receiving HTTP requests.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) class
(package private) class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected HttpConnection
protected final TransportHttp.Service.HttpExecuteStream
(package private) final UnionInputStream
protected TransportHttp.Service.HttpOutputStream
protected final TransferConfig.ProtocolVersion
protected final String
protected final String
protected final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) abstract void
execute()
(package private) InputStream
(package private) TransportHttp.Service.HttpOutputStream
(package private) void
(package private) void
(package private) void
-
Field Details
-
serviceName
-
requestType
-
responseType
-
conn
-
out
-
execute
-
protocolVersion
-
in
-
-
Constructor Details
-
Service
Service(String serviceName, TransferConfig.ProtocolVersion protocolVersion)
-
-
Method Details
-
openStream
- Throws:
IOException
-
sendRequest
- Throws:
IOException
-
openResponse
- Throws:
IOException
-
getOutputStream
TransportHttp.Service.HttpOutputStream getOutputStream() -
getInputStream
InputStream getInputStream() -
execute
- Throws:
IOException
-