org.gudy.azureus2.pluginsimpl.local.tracker
Class TrackerWebPageRequestImpl
java.lang.Object
org.gudy.azureus2.pluginsimpl.local.tracker.TrackerWebPageRequestImpl
- All Implemented Interfaces:
- TrackerWebPageRequest
public class TrackerWebPageRequestImpl
- extends java.lang.Object
- implements TrackerWebPageRequest
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TrackerWebPageRequestImpl
protected TrackerWebPageRequestImpl(Tracker _tracker,
TrackerWebContext _context,
TRTrackerServerListener2.ExternalRequest _request)
getTracker
public Tracker getTracker()
- Specified by:
getTracker
in interface TrackerWebPageRequest
getContext
public TrackerWebContext getContext()
- Specified by:
getContext
in interface TrackerWebPageRequest
getURL
public java.lang.String getURL()
- Description copied from interface:
TrackerWebPageRequest
- This gives the relative URL of the request (e.g. /fred.html)
- Specified by:
getURL
in interface TrackerWebPageRequest
- Returns:
getAbsoluteURL
public java.net.URL getAbsoluteURL()
- Description copied from interface:
TrackerWebPageRequest
- Absolute URL including protocol and port e.g. https://a.b.c:1235/fred.html
- Specified by:
getAbsoluteURL
in interface TrackerWebPageRequest
- Returns:
getClientAddress
public java.lang.String getClientAddress()
- Specified by:
getClientAddress
in interface TrackerWebPageRequest
getClientAddress2
public java.net.InetSocketAddress getClientAddress2()
- Specified by:
getClientAddress2
in interface TrackerWebPageRequest
getLocalAddress
public java.net.InetSocketAddress getLocalAddress()
- Specified by:
getLocalAddress
in interface TrackerWebPageRequest
getUser
public java.lang.String getUser()
- Specified by:
getUser
in interface TrackerWebPageRequest
getInputStream
public java.io.InputStream getInputStream()
- Specified by:
getInputStream
in interface TrackerWebPageRequest
getOutputStream
protected java.io.OutputStream getOutputStream()
isActive
protected boolean isActive()
getAsyncController
protected AsyncController getAsyncController()
canKeepAlive
public boolean canKeepAlive()
setKeepAlive
public void setKeepAlive(boolean ka)
getHeader
public java.lang.String getHeader()
- Specified by:
getHeader
in interface TrackerWebPageRequest
getHeaders
public java.util.Map getHeaders()
- Description copied from interface:
TrackerWebPageRequest
- Returns a map containing the separate headers. Keys are lowercase
- Specified by:
getHeaders
in interface TrackerWebPageRequest
- Returns: