Codota Logo
Response
Code IndexAdd Codota to your IDE (free)

How to use
Response
in
gov.nist.toolkit.registrymsg.registry

Best Java code snippets using gov.nist.toolkit.registrymsg.registry.Response (Showing top 11 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Gson g =
  • Codota Iconnew Gson()
  • Codota IconGsonBuilder gsonBuilder;gsonBuilder.create()
  • Codota Iconnew GsonBuilder().create()
  • Smart code suggestions by Codota
}
origin: usnistgov/iheos-toolkit2

public Response(RegistryErrorListGenerator rel)  throws XdsInternalException {
  init(version_3, rel);
}
origin: usnistgov/iheos-toolkit2

setLocationForXCA();
return getRoot();
origin: usnistgov/iheos-toolkit2

public void run(ErrorRecorder er, MessageValidatorEngine mvc) {
  this.response = rrSim.getResponse();
  try {
    er.detail("Wrapping response in SOAP Message");
    OMElement env = dsSimCommon.wrapResponseInSoapEnvelope(response.getResponse());
    dsSimCommon.sendHttpResponse(env, er);
  }
  // this cannot be - registry errors already sealed - this must be SOAP Fault
  catch (Exception e) {
    er.err(XdsErrorCode.Code.SoapFault, e);
    dsSimCommon.sendFault("Error wrapping response in Soap Envelope", e);
    System.out.println(ExceptionUtil.exception_details(e));
  } 
}
origin: usnistgov/iheos-toolkit2

  resp.add(relg, null);
} catch (Exception e) {}
origin: usnistgov/iheos-toolkit2

void build() throws XdsException, LoggerException {
    er = response.getErrorRecorder();
origin: usnistgov/iheos-toolkit2

response.add_error("XDSRegistryError", "Unknown Stored Query query id = " + query_id, "AdhocQueryRequest.java", SqDocRef.QueryID, log_message);
origin: usnistgov/iheos-toolkit2

private void returnRetrieveError() {
 mvc.run();
 Response response = null;
 try {
   response = dsSimCommon.getRegistryResponse();
   er.detail("Wrapping response in RetrieveDocumentSetResponse and then SOAP Message");
   OMElement rdsr = dsSimCommon.wrapResponseInRetrieveDocumentSetResponse(response.getResponse());
   OMElement env = dsSimCommon.wrapResponseInSoapEnvelope(rdsr);
   dsSimCommon.sendHttpResponse(env, er);
 } catch (Exception e) {
 }
}
origin: usnistgov/iheos-toolkit2

  resp.add(relg, null);
} catch (Exception e) {}
  resp.add(relg, null);
} catch (Exception e) {}
origin: usnistgov/iheos-toolkit2

public Response(short version, RegistryErrorListGenerator rel)  throws XdsInternalException {
  init(version, rel);
}
origin: usnistgov/iheos-toolkit2

public Response() throws XdsInternalException {
  init(version_3, new RegistryErrorListGenerator(version_3, true /* log */));
}
origin: usnistgov/iheos-toolkit2

public Response(short version) throws XdsInternalException {
  init(version, new RegistryErrorListGenerator(version, true /* log */));
}
gov.nist.toolkit.registrymsg.registryResponse

Most used methods

  • add
  • add_error
  • getErrorRecorder
  • getResponse
    Gets the completed RetrieveDocumentSetResponse SOAP message body, first adding any RegistryErrors, a
  • getRoot
  • init
  • setLocationForXCA

Popular in Java

  • Updating database using SQL prepared statement
  • addToBackStack (FragmentTransaction)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Iterator (java.util)
    An iterator over a collection. Iterator takes the place of Enumeration in the Java Collections Frame
  • ImageIO (javax.imageio)
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
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