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 HttpConnectionprotected final TransportHttp.Service.HttpExecuteStream(package private) final UnionInputStreamprotected TransportHttp.Service.HttpOutputStreamprotected final TransferConfig.ProtocolVersionprotected final Stringprotected final Stringprotected final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) abstract voidexecute()(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
-