Tabnine Logo
HttpClientActivity.endActivity
Code IndexAdd Tabnine to your IDE (free)

How to use
endActivity
method
in
net.java.client.slee.resource.http.HttpClientActivity

Best Java code snippets using net.java.client.slee.resource.http.HttpClientActivity.endActivity (Showing top 2 results out of 315)

origin: org.restcomm.camelgw/sbbs

private void endHttpClientActivity(HttpClientActivity httpClientActivity) {
  if (httpClientActivity != null) {
    httpClientActivity.endActivity();
  }
}

origin: org.mobicents.applications/charging-server-sbb

public void onResponseEvent(ResponseEvent event, ActivityContextInterface aci) {
  HttpResponse response = event.getHttpResponse();
  if (tracer.isInfoEnabled()) {
    tracer.info("[<<] Received HTTP Response. Status Code = " + response.getStatusLine().getStatusCode());
    if (tracer.isFineEnabled()) {
      try {
        tracer.fine("[<<] Received HTTP Response. Response Body = [" + EntityUtils.toString(response.getEntity()) + "]");
      }
      catch (Exception e) {
        tracer.severe("[xx] Failed reading response body", e);
      }
    }
  }
  // end http activity
  ((HttpClientActivity) aci.getActivity()).endActivity();
  // call back parent
  HashMap params = (HashMap) event.getRequestApplicationData();
  RatingInfo ratInfo = buildRatingInfo(response, params);
  final DiameterChargingServer parent = (DiameterChargingServer) sbbContext.getSbbLocalObject().getParent();
  parent.getRateForServiceResult(ratInfo);
}
net.java.client.slee.resource.httpHttpClientActivityendActivity

Popular methods of HttpClientActivity

  • execute

Popular in Java

  • Running tasks concurrently on multiple threads
  • compareTo (BigDecimal)
  • notifyDataSetChanged (ArrayAdapter)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • JCheckBox (javax.swing)
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now