Package com.wowza.io
Class HTTPByteReaderS3
- Object
-
- com.wowza.io.HTTPByteReader
-
- com.wowza.io.HTTPByteReaderS3
-
public class HTTPByteReaderS3 extends HTTPByteReader
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.wowza.io.HTTPByteReader
HTTPByteReader.SendResult
-
-
Field Summary
-
Fields inherited from class com.wowza.io.HTTPByteReader
BUFFERINCSIZE, connectionTimeout, CRLF, dateFormat, debugInfo, debugPrefix, HEADINDEX_CONTENTLENGTH, HEADINDEX_LASTMODIFIED, HEADINDEX_SIZE, HEADINDEX_STATUS, host, MAXHEADERSIZE, maxRetries, maxUsesBeforeReconnect, msgBuf, parseDateFormats, port, proxyHost, proxyPort, readTimeout, receiveBufferSize, RECEIVEBUFFERSIZE, reqPath, requestFullURL, sendBufferSize, SENDBUFFERSIZE, socket, TIMEOUT, userAgent, uses
-
-
Constructor Summary
Constructors Constructor Description HTTPByteReaderS3(String host, int port)
HTTPByteReaderS3(String host, int port, IApplicationInstance appInstance)
HTTPByteReaderS3(String host, int port, IVHost vhost)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IApplicationInstance
getAppInstance()
String
getAWSAccessKeyId()
String
getAWSSecretAccessKey()
protected void
getGetCommand(String path, long pos, int flen)
protected void
getHeadCommand(String path)
IVHost
getVHost()
protected String
httpDate()
void
initAuth()
void
setAppInstance(IApplicationInstance appInstance)
void
setAWSAccessKeyId(String awsAccessKeyId)
void
setAWSSecretAccessKey(String awsSecretAccessKey)
void
setVHost(IVHost vhost)
String
signRequest(String awsSecretAccessKey, String canonicalString)
-
Methods inherited from class com.wowza.io.HTTPByteReader
close, connect, delete, deleteDirect, dumpDebug, getConextPath, getConnectionTimeout, getDeleteCommand, getMaxRetries, getMaxUsesBeforeReconnect, getPostCommand, getReadTimeout, getReceiveBufferSize, getRequestPath, getSendBufferSize, getUserAgent, head, isOpen, isRequestFullURL, parseHeader, read, readDirect, reconnect, sendRequest, sendRequest, sendRequest, setConnectionTimeout, setMaxRetries, setMaxUsesBeforeReconnect, setProxyAddress, setReadTimeout, setReceiveBufferSize, setRequestFullURL, setSendBufferSize, setUserAgent, write, write, write, writeDirect
-
-
-
-
Constructor Detail
-
HTTPByteReaderS3
public HTTPByteReaderS3(String host, int port)
-
HTTPByteReaderS3
public HTTPByteReaderS3(String host, int port, IApplicationInstance appInstance)
-
HTTPByteReaderS3
public HTTPByteReaderS3(String host, int port, IVHost vhost)
-
-
Method Detail
-
initAuth
public void initAuth()
-
getGetCommand
protected void getGetCommand(String path, long pos, int flen)
- Overrides:
getGetCommand
in classHTTPByteReader
-
getHeadCommand
protected void getHeadCommand(String path)
- Overrides:
getHeadCommand
in classHTTPByteReader
-
httpDate
protected String httpDate()
-
signRequest
public String signRequest(String awsSecretAccessKey, String canonicalString)
-
getVHost
public IVHost getVHost()
-
setVHost
public void setVHost(IVHost vhost)
-
getAppInstance
public IApplicationInstance getAppInstance()
-
setAppInstance
public void setAppInstance(IApplicationInstance appInstance)
-
getAWSSecretAccessKey
public String getAWSSecretAccessKey()
-
setAWSSecretAccessKey
public void setAWSSecretAccessKey(String awsSecretAccessKey)
-
getAWSAccessKeyId
public String getAWSAccessKeyId()
-
setAWSAccessKeyId
public void setAWSAccessKeyId(String awsAccessKeyId)
-
-