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 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 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 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 String getClientAddress()
- Specified by:
getClientAddress
in interface TrackerWebPageRequest
getClientAddress2
public InetSocketAddress getClientAddress2()
- Specified by:
getClientAddress2
in interface TrackerWebPageRequest
getLocalAddress
public InetSocketAddress getLocalAddress()
- Specified by:
getLocalAddress
in interface TrackerWebPageRequest
getUser
public String getUser()
- Specified by:
getUser
in interface TrackerWebPageRequest
getInputStream
public InputStream getInputStream()
- Specified by:
getInputStream
in interface TrackerWebPageRequest
getOutputStream
protected OutputStream getOutputStream()
isActive
protected boolean isActive()
getAsyncController
protected AsyncController getAsyncController()
canKeepAlive
public boolean canKeepAlive()
setKeepAlive
public void setKeepAlive(boolean ka)
getHeader
public String getHeader()
- Specified by:
getHeader
in interface TrackerWebPageRequest
getHeaders
public Map getHeaders()
- Description copied from interface:
TrackerWebPageRequest
- Returns a map containing the separate headers. Keys are lowercase
- Specified by:
getHeaders
in interface TrackerWebPageRequest
- Returns: