Codota Logo
HttpClientActivity.endActivity
Code IndexAdd Codota 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)

  • Common ways to obtain HttpClientActivity
private void myMethod () {
HttpClientActivity h =
  • Codota IconHttpClientResourceAdaptorSbbInterface httpClientResourceAdaptorSbbInterface;httpClientResourceAdaptorSbbInterface.createHttpClientActivity(true, null)
  • Smart code suggestions by Codota
}
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

  • Reading from database using SQL prepared statement
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • URI (java.net)
    Represents a Uniform Resource Identifier (URI) reference. Aside from some minor deviations noted bel
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • HashSet (java.util)
    This class implements the Set interface, backed by a hash table (actually a HashMap instance). It m
  • JPanel (javax.swing)
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now