uicc.scws
Class ScwsExtensionService

java.lang.Object
  extended by uicc.scws.ScwsExtensionService
All Implemented Interfaces:
javacard.framework.Shareable, ScwsExtension

public class ScwsExtensionService
extends java.lang.Object
implements ScwsExtension

Class implementing the ScwsExtension interface. This class can be extended by other classes in order to define SCWS extensions.


Constructor Summary
ScwsExtensionService()
           
 
Method Summary
 void doDelete(HttpRequest request, HttpResponse response)
          Invoked if a HTTP request in DELETE mode has been received by the SCWS for the associated application.
 void doGet(HttpRequest request, HttpResponse response)
          Invoked if a HTTP request in GET mode has been received by the SCWS for the associated application.
 void doHead(HttpRequest request, HttpResponse response)
          Invoked if a HTTP request in HEAD mode has been received by the SCWS for the associated application.
 void doOptions(HttpRequest request, HttpResponse response)
          Invoked if a HTTP request in OPTIONS mode has been received by the SCWS for the associated application.
 void doPost(HttpRequest request, HttpResponse response)
          Invoked if a HTTP request in POST mode has been received by the SCWS for the associated application.
 void doPut(HttpRequest request, HttpResponse response)
          Invoked if a HTTP request in PUT mode has been received by the SCWS for the associated application.
 void doTrace(HttpRequest request, HttpResponse response)
          Invoked if a HTTP request in TRACE mode has been received by the SCWS for the associated application.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScwsExtensionService

public ScwsExtensionService()
Method Detail

doDelete

public void doDelete(HttpRequest request,
                     HttpResponse response)
              throws ScwsException
Description copied from interface: ScwsExtension
Invoked if a HTTP request in DELETE mode has been received by the SCWS for the associated application.

Specified by:
doDelete in interface ScwsExtension
Parameters:
request -
response -
Throws:
ScwsException

doGet

public void doGet(HttpRequest request,
                  HttpResponse response)
           throws ScwsException
Description copied from interface: ScwsExtension
Invoked if a HTTP request in GET mode has been received by the SCWS for the associated application.

Specified by:
doGet in interface ScwsExtension
Parameters:
request -
response -
Throws:
ScwsException

doHead

public void doHead(HttpRequest request,
                   HttpResponse response)
            throws ScwsException
Description copied from interface: ScwsExtension
Invoked if a HTTP request in HEAD mode has been received by the SCWS for the associated application.

Specified by:
doHead in interface ScwsExtension
Parameters:
request -
response -
Throws:
ScwsException

doOptions

public void doOptions(HttpRequest request,
                      HttpResponse response)
               throws ScwsException
Description copied from interface: ScwsExtension
Invoked if a HTTP request in OPTIONS mode has been received by the SCWS for the associated application.

Specified by:
doOptions in interface ScwsExtension
Parameters:
request -
response -
Throws:
ScwsException

doPost

public void doPost(HttpRequest request,
                   HttpResponse response)
            throws ScwsException
Description copied from interface: ScwsExtension
Invoked if a HTTP request in POST mode has been received by the SCWS for the associated application.

Specified by:
doPost in interface ScwsExtension
Parameters:
request -
response -
Throws:
ScwsException

doPut

public void doPut(HttpRequest request,
                  HttpResponse response)
           throws ScwsException
Description copied from interface: ScwsExtension
Invoked if a HTTP request in PUT mode has been received by the SCWS for the associated application.

Specified by:
doPut in interface ScwsExtension
Parameters:
request -
response -
Throws:
ScwsException

doTrace

public void doTrace(HttpRequest request,
                    HttpResponse response)
             throws ScwsException
Description copied from interface: ScwsExtension
Invoked if a HTTP request in TRACE mode has been received by the SCWS for the associated application.

Specified by:
doTrace in interface ScwsExtension
Parameters:
request -
response -
Throws:
ScwsException