nl.nikhef.slcshttps.trust
Class HttxURLConnection.StdioComm
java.lang.Object
nl.nikhef.slcshttps.trust.HttxURLConnection.StdioComm
- All Implemented Interfaces:
- HttxURLConnection.HttxClientCommunicator
- Enclosing class:
- HttxURLConnection
static class HttxURLConnection.StdioComm
- extends Object
- implements HttxURLConnection.HttxClientCommunicator
This Implementation uses only stdio/stderr
for I/O.
- Version:
- 0.1
- Author:
- Mischa Sallé
- See Also:
HttxURLConnection.HttxClientCommunicator
Method Summary |
void |
almostexpired(String mesg)
Method to inform the user that his client certificate is about to
expire using stdio/stderr, any HTML italics tags are removed. |
boolean |
expired(String mesg)
Method to ask the user for confirmation to continue since the client
certificate has expired, using stdio/stderr, any HTML italics tags
are removed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttxURLConnection.StdioComm
HttxURLConnection.StdioComm()
expired
public boolean expired(String mesg)
- Method to ask the user for confirmation to continue since the client
certificate has expired, using stdio/stderr, any HTML italics tags
are removed.
- Specified by:
expired
in interface HttxURLConnection.HttxClientCommunicator
- Parameters:
mesg
- String
containing a message describing the
problem.
- Returns:
- boolean
true
when the user wants to continue,
false
otherwise.
almostexpired
public void almostexpired(String mesg)
- Method to inform the user that his client certificate is about to
expire using stdio/stderr, any HTML italics tags are removed.
- Specified by:
almostexpired
in interface HttxURLConnection.HttxClientCommunicator
- Parameters:
mesg
- String
containing a message describing the
problem.
nl.nikhef.slcshttps
| Mischa Sallé - msalle(AT)nikhef.nl
|