Class InputStreamUrlConnection
- java.lang.Object
-
- java.net.URLConnection
-
- io.opentelemetry.javaagent.tooling.InputStreamUrlConnection
-
public class InputStreamUrlConnection extends URLConnection
-
-
Field Summary
-
Fields inherited from class java.net.URLConnection
allowUserInteraction, connected, doInput, doOutput, ifModifiedSince, url, useCaches
-
-
Constructor Summary
Constructors Constructor Description InputStreamUrlConnection(URL url, InputStream inputStream, long contentLength)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconnect()longgetContentLengthLong()InputStreamgetInputStream()PermissiongetPermission()-
Methods inherited from class java.net.URLConnection
addRequestProperty, getAllowUserInteraction, getConnectTimeout, getContent, getContent, getContentEncoding, getContentLength, getContentType, getDate, getDefaultAllowUserInteraction, getDefaultRequestProperty, getDefaultUseCaches, getDefaultUseCaches, getDoInput, getDoOutput, getExpiration, getFileNameMap, getHeaderField, getHeaderField, getHeaderFieldDate, getHeaderFieldInt, getHeaderFieldKey, getHeaderFieldLong, getHeaderFields, getIfModifiedSince, getLastModified, getOutputStream, getReadTimeout, getRequestProperties, getRequestProperty, getURL, getUseCaches, guessContentTypeFromName, guessContentTypeFromStream, setAllowUserInteraction, setConnectTimeout, setContentHandlerFactory, setDefaultAllowUserInteraction, setDefaultRequestProperty, setDefaultUseCaches, setDefaultUseCaches, setDoInput, setDoOutput, setFileNameMap, setIfModifiedSince, setReadTimeout, setRequestProperty, setUseCaches, toString
-
-
-
-
Constructor Detail
-
InputStreamUrlConnection
public InputStreamUrlConnection(URL url, InputStream inputStream, long contentLength)
-
-
Method Detail
-
connect
public void connect()
- Specified by:
connectin classURLConnection
-
getInputStream
public InputStream getInputStream()
- Overrides:
getInputStreamin classURLConnection
-
getPermission
public Permission getPermission()
- Overrides:
getPermissionin classURLConnection
-
getContentLengthLong
public long getContentLengthLong()
- Overrides:
getContentLengthLongin classURLConnection
-
-