public abstract static class URLConnectionSender.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
URLConnectionSender |
build() |
abstract URLConnectionSender.Builder |
compressionEnabled(boolean compressSpans)
Default true.
|
abstract URLConnectionSender.Builder |
connectTimeout(int connectTimeout)
Default 10 * 1000 milliseconds.
|
abstract URLConnectionSender.Builder |
encoding(Encoding encoding)
Controls the "Content-Type" header when sending spans.
|
URLConnectionSender.Builder |
endpoint(String endpoint)
No default.
|
abstract URLConnectionSender.Builder |
endpoint(URL postUrl) |
abstract URLConnectionSender.Builder |
messageMaxBytes(int messageMaxBytes)
Maximum size of a message.
|
abstract URLConnectionSender.Builder |
readTimeout(int readTimeout)
Default 60 * 1000 milliseconds.
|
public final URLConnectionSender.Builder endpoint(String endpoint)
public abstract URLConnectionSender.Builder endpoint(URL postUrl)
public abstract URLConnectionSender.Builder connectTimeout(int connectTimeout)
public abstract URLConnectionSender.Builder readTimeout(int readTimeout)
public abstract URLConnectionSender.Builder compressionEnabled(boolean compressSpans)
public abstract URLConnectionSender.Builder messageMaxBytes(int messageMaxBytes)
public abstract URLConnectionSender.Builder encoding(Encoding encoding)
public final URLConnectionSender build()
Copyright © 2016–2017 OpenZipkin. All rights reserved.