com.limegroup.gnutella.bugs
Class RemoteServletInfo
java.lang.Object
com.limegroup.gnutella.bugs.RemoteAbstractInfo
com.limegroup.gnutella.bugs.RemoteServletInfo
- public final class RemoteServletInfo
- extends RemoteAbstractInfo
This class handles creating the bug information for client reporting
the bug. It constructs the appropriate bug information based
on the data supplied by the client, such as the operating system, the
LimeWire version, etc.
This class is reconstructed on the client side by the
RemoteClientInfo class.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemoteServletInfo
public RemoteServletInfo()
instance
public static RemoteServletInfo instance()
- The only instance of this class to use.
getURLEncodedString
public java.lang.String getURLEncodedString(LocalServletInfo localInfo)
throws java.io.IOException
- Generates the appropriate response based on the information supplied
by the client reporting the bug.
Returns a string in url encoding containing the data for the remote
remote update.
- Parameters:
localInfo
- the LocalServletInfo instance
containing data about the client reporting the bug
- Returns:
- an url-encoded String containing all of the
necessary fields for responding to the bug report
- Throws:
java.io.IOException