Codota Logo
ListingAgent.getParamtereIgnoreCase
Code IndexAdd Codota to your IDE (free)

How to use
getParamtereIgnoreCase
method
in
org.apache.axis2.transport.http.ListingAgent

Best Java code snippets using org.apache.axis2.transport.http.ListingAgent.getParamtereIgnoreCase (Showing top 6 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Dictionary d =
  • Codota Iconnew Hashtable()
  • Codota IconBundle bundle;bundle.getHeaders()
  • Codota Iconnew Properties()
  • Smart code suggestions by Codota
}
origin: org.apache.axis2/axis2-transport-http

private void handleXSDRequest(HttpServletRequest req, HttpServletResponse res,
               AxisService axisService) throws IOException {
  if (!canExposeServiceMetadata(axisService)){
    res.sendError(HttpServletResponse.SC_FORBIDDEN);
    return;
  }
  res.setContentType("text/xml");
  int ret = axisService.printXSD(res.getOutputStream(), getParamtereIgnoreCase(req ,"xsd"));
  if (ret == 0) {
    //multiple schemas are present and the user specified
    //no name - in this case we cannot possibly pump a schema
    //so redirect to the service root
    res.sendRedirect("");
  } else if (ret == -1) {
    res.sendError(HttpServletResponse.SC_NOT_FOUND);
  }
}
origin: apache/axis2-java

private void handleXSDRequest(HttpServletRequest req, HttpServletResponse res,
               AxisService axisService) throws IOException {
  if (!canExposeServiceMetadata(axisService)){
    res.sendError(HttpServletResponse.SC_FORBIDDEN);
    return;
  }
  res.setContentType("text/xml");
  int ret = axisService.printXSD(res.getOutputStream(), getParamtereIgnoreCase(req ,"xsd"));
  if (ret == 0) {
    //multiple schemas are present and the user specified
    //no name - in this case we cannot possibly pump a schema
    //so redirect to the service root
    res.sendRedirect("");
  } else if (ret == -1) {
    res.sendError(HttpServletResponse.SC_NOT_FOUND);
  }
}
origin: org.apache.axis2/axis2-transport-http

private void handleWSDL2Request(HttpServletRequest req,
                HttpServletResponse res,
                String url,
                AxisService axisService) throws IOException {
  if (!canExposeServiceMetadata(axisService)){
    res.sendError(HttpServletResponse.SC_FORBIDDEN);
    return;
  }
  res.setContentType("text/xml");
  String ip = extractHost(url);
  String wsdlName = getParamtereIgnoreCase(req , "wsdl2");
  int ret = axisService.printWSDL2(res.getOutputStream(), ip, wsdlName);
  if (ret == 0) {
    res.sendRedirect("");
  } else if (ret == -1) {
    res.sendError(HttpServletResponse.SC_NOT_FOUND);
  }
}
origin: apache/axis2-java

private void handleWSDL2Request(HttpServletRequest req,
                HttpServletResponse res,
                String url,
                AxisService axisService) throws IOException {
  if (!canExposeServiceMetadata(axisService)){
    res.sendError(HttpServletResponse.SC_FORBIDDEN);
    return;
  }
  res.setContentType("text/xml");
  String ip = extractHost(url);
  String wsdlName = getParamtereIgnoreCase(req , "wsdl2");
  int ret = axisService.printWSDL2(res.getOutputStream(), ip, wsdlName);
  if (ret == 0) {
    res.sendRedirect("");
  } else if (ret == -1) {
    res.sendError(HttpServletResponse.SC_NOT_FOUND);
  }
}
origin: org.apache.axis2/axis2-transport-http

private void handleWSDLRequest(HttpServletRequest req,
                HttpServletResponse res,
                String url,
                AxisService axisService) throws IOException {
  if (!canExposeServiceMetadata(axisService)){
    res.sendError(HttpServletResponse.SC_FORBIDDEN);
    return;
  }
  OutputStream out = res.getOutputStream();
  res.setContentType("text/xml");
  String ip = extractHost(url);
  String wsdlName = getParamtereIgnoreCase(req , "wsdl");
  if (wsdlName != null && wsdlName.length()>0) {
    axisService.printUserWSDL(out, wsdlName, ip);
  } else {
    axisService.printWSDL(out, ip);
  }
}
origin: apache/axis2-java

private void handleWSDLRequest(HttpServletRequest req,
                HttpServletResponse res,
                String url,
                AxisService axisService) throws IOException {
  if (!canExposeServiceMetadata(axisService)){
    res.sendError(HttpServletResponse.SC_FORBIDDEN);
    return;
  }
  OutputStream out = res.getOutputStream();
  res.setContentType("text/xml");
  String ip = extractHost(url);
  String wsdlName = getParamtereIgnoreCase(req , "wsdl");
  if (wsdlName != null && wsdlName.length()>0) {
    axisService.printUserWSDL(out, wsdlName, ip);
  } else {
    axisService.printWSDL(out, ip);
  }
}
org.apache.axis2.transport.httpListingAgentgetParamtereIgnoreCase

Popular methods of ListingAgent

  • <init>
  • processListService
  • canExposeServiceMetadata
    Checks whether exposing the WSDL & WSDL elements such as schema & policy have been allowed
  • copy
    Copies the input stream to the output stream
  • extractHost
  • extractServiceName
  • findPolicy
  • handle
  • handlePolicyRequest
  • handleWSDL2Request
  • handleWSDLRequest
  • handleXSDRequest
  • handleWSDLRequest,
  • handleXSDRequest,
  • listServiceDisabled,
  • populateRequestAttributes,
  • processExplicitSchemaAndWSDL,
  • processListServices,
  • renderView

Popular in Java

  • Finding current android device location
  • addToBackStack (FragmentTransaction)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • HashSet (java.util)
    This class implements the Set interface, backed by a hash table (actually a HashMap instance). It m
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • JOptionPane (javax.swing)
  • JPanel (javax.swing)
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
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