Tabnine Logo
ServiceException.setRequestAndHostIds
Code IndexAdd Tabnine to your IDE (free)

How to use
setRequestAndHostIds
method
in
org.jets3t.service.ServiceException

Best Java code snippets using org.jets3t.service.ServiceException.setRequestAndHostIds (Showing top 2 results out of 315)

origin: net.java.dev.jets3t/jets3t

  && response.getFirstHeader(Constants.AMZ_REQUEST_ID_1) != null
  && response.getFirstHeader(Constants.AMZ_REQUEST_ID_2) != null) {
serviceException.setRequestAndHostIds(
    response.getFirstHeader(Constants.AMZ_REQUEST_ID_1).getValue(),
    response.getFirstHeader(Constants.AMZ_REQUEST_ID_2).getValue());
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jets3t

  && response.getFirstHeader(Constants.AMZ_REQUEST_ID_1) != null
  && response.getFirstHeader(Constants.AMZ_REQUEST_ID_2) != null) {
serviceException.setRequestAndHostIds(
    response.getFirstHeader(Constants.AMZ_REQUEST_ID_1).getValue(),
    response.getFirstHeader(Constants.AMZ_REQUEST_ID_2).getValue());
org.jets3t.serviceServiceExceptionsetRequestAndHostIds

Javadoc

Allow the Request and Host Id fields to be populated in situations where this information is not available from an XML response error document. If there is no XML error response document, the RequestId and HostId will generally be available as the HTTP response headers x-amz-request-id and x-amz-id-2 respectively.

Popular methods of ServiceException

  • getMessage
  • getCause
  • getErrorCode
  • getErrorMessage
  • <init>
    Create a service exception that includes an underlying cause exception.
  • getResponseCode
  • getResponseHeaders
  • getResponseStatus
  • printStackTrace
  • setErrorCode
    Set the exception's error code; for internal use only.
  • setErrorMessage
    Set the exception's error message; for internal use only.
  • findXmlElementText
  • setErrorMessage,
  • findXmlElementText,
  • getRequestHost,
  • getRequestPath,
  • getRequestVerb,
  • getResponseDate,
  • getXmlMessage,
  • getXmlMessageAsBuilder,
  • isParsedFromXmlMessage,
  • parseXmlMessage

Popular in Java

  • Parsing JSON documents to java classes using gson
  • runOnUiThread (Activity)
  • setContentView (Activity)
  • onRequestPermissionsResult (Fragment)
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Join (org.hibernate.mapping)
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Github Copilot alternatives
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