Tabnine Logo
org.apache.xmlrpc.server
Code IndexAdd Tabnine to your IDE (free)

How to use org.apache.xmlrpc.server

Best Java code snippets using org.apache.xmlrpc.server (Showing top 20 results out of 315)

origin: org.apache.xmlrpc/xmlrpc-server

/** Logs a message.
 * @param pMessage The being logged.
 */
public void log(String pMessage) {
  server.getErrorLogger().log(pMessage);
}
origin: org.sonatype.sisu/sisu-xmlrpc-server

/** Adds handlers for the given object to the mapping.
 * The handlers are build by invoking
 * {@link #registerPublicMethods(String, Class)}.
 * @param pKey The class key, which is passed
 * to {@link #registerPublicMethods(String, Class)}.
 * @param pClass Class, which is responsible for handling the request.
 */
public void addHandler(String pKey, Class pClass) throws XmlRpcException {
  registerPublicMethods(pKey, pClass);
}
origin: org.sonatype.sisu/sisu-xmlrpc-server

  public RequestProcessorFactory getRequestProcessorFactory(Class pClass)
      throws XmlRpcException {
    final Object processor = getRequestProcessor(pClass);
    return new RequestProcessorFactory(){
      public Object getRequestProcessor(XmlRpcRequest pRequest) throws XmlRpcException {
        return processor;
      }
    };
  }
}
origin: org.apache.xmlrpc/xmlrpc-server

public String getMethodHelp(String pHandlerName) throws XmlRpcException {
  XmlRpcHandler h = getHandler(pHandlerName);
  if (h instanceof XmlRpcMetaDataHandler)
    return ((XmlRpcMetaDataHandler)h).getMethodHelp();
  throw new XmlRpcNoSuchHandlerException("No help available for method: "
      + pHandlerName);
}
origin: rosjava/rosjava_core

  public Object execute(XmlRpcRequest pRequest) throws XmlRpcException {
    XmlRpcServer server = (XmlRpcServer) getController();
    XmlRpcHandlerMapping mapping = server.getHandlerMapping();
    XmlRpcHandler handler = mapping.getHandler(pRequest.getMethodName());
    return handler.execute(pRequest);
  }
}
origin: org.apache.xmlrpc/xmlrpc-server

  protected OutputStream getOutputStream(ServerStreamConnection pConnection, XmlRpcStreamRequestConfig pConfig, OutputStream pStream) throws IOException {
    if (pConfig.isEnabledForExtensions()  &&  pConfig.isGzipRequesting()) {
      setResponseHeader(pConnection, "Content-Encoding", "gzip");
    }
    return super.getOutputStream(pConnection, pConfig, pStream);
  }
}
origin: org.apache.continuum/continuum-xmlrpc-server

private Object getInstance( XmlRpcRequest pRequest )
  throws XmlRpcException
{
  return requestProcessorFactory.getRequestProcessor( pRequest );
}
origin: com.xpn.xwiki.platform/xwiki-core

  @Override
  protected Object getRequestProcessor(Class class1, XmlRpcRequest request) throws XmlRpcException
  {
    return super.getRequestProcessor(class1, request);
  }
};
origin: rosjava/rosjava_core

public String getMethodHelp(String pHandlerName) throws XmlRpcException {
  XmlRpcHandler h = getHandler(pHandlerName);
  if (h instanceof XmlRpcMetaDataHandler)
    return ((XmlRpcMetaDataHandler)h).getMethodHelp();
  throw new XmlRpcNoSuchHandlerException("No help available for method: "
      + pHandlerName);
}
origin: org.sonatype.sisu/sisu-xmlrpc-server

/** Logs a message.
 * @param pMessage The being logged.
 */
public void log(String pMessage) {
  server.getErrorLogger().log(pMessage);
}
origin: org.sonatype.sisu/sisu-xmlrpc-server

  protected OutputStream getOutputStream(ServerStreamConnection pConnection, XmlRpcStreamRequestConfig pConfig, OutputStream pStream) throws IOException {
    if (pConfig.isEnabledForExtensions()  &&  pConfig.isGzipRequesting()) {
      setResponseHeader(pConnection, "Content-Encoding", "gzip");
    }
    return super.getOutputStream(pConnection, pConfig, pStream);
  }
}
origin: org.apache.maven.continuum/continuum-xmlrpc-server

private Object getInstance( XmlRpcRequest pRequest )
  throws XmlRpcException
{
  return requestProcessorFactory.getRequestProcessor( pRequest );
}
origin: org.apache.xmlrpc/xmlrpc-server

/** Adds handlers for the given object to the mapping.
 * The handlers are build by invoking
 * {@link #registerPublicMethods(String, Class)}.
 * @param pKey The class key, which is passed
 * to {@link #registerPublicMethods(String, Class)}.
 * @param pClass Class, which is responsible for handling the request.
 */
public void addHandler(String pKey, Class pClass) throws XmlRpcException {
  registerPublicMethods(pKey, pClass);
}
origin: org.sonatype.sisu/sisu-xmlrpc-server

  public Object getRequestProcessor(XmlRpcRequest pRequest) throws XmlRpcException {
    return RequestSpecificProcessorFactoryFactory.this.getRequestProcessor(pClass, pRequest);
  }
};
origin: rosjava/rosjava_core

  public RequestProcessorFactory getRequestProcessorFactory(Class pClass)
      throws XmlRpcException {
    final Object processor = getRequestProcessor(pClass);
    return new RequestProcessorFactory(){
      public Object getRequestProcessor(XmlRpcRequest pRequest) throws XmlRpcException {
        return processor;
      }
    };
  }
}
origin: org.sonatype.sisu/sisu-xmlrpc-server

public String getMethodHelp(String pHandlerName) throws XmlRpcException {
  XmlRpcHandler h = getHandler(pHandlerName);
  if (h instanceof XmlRpcMetaDataHandler)
    return ((XmlRpcMetaDataHandler)h).getMethodHelp();
  throw new XmlRpcNoSuchHandlerException("No help available for method: "
      + pHandlerName);
}
origin: rosjava/rosjava_core

/** Logs a message.
 * @param pMessage The being logged.
 */
public void log(String pMessage) {
  server.getErrorLogger().log(pMessage);
}
origin: rosjava/rosjava_core

/** Adds handlers for the given object to the mapping.
 * The handlers are build by invoking
 * {@link #registerPublicMethods(String, Class)}.
 * @param pKey The class key, which is passed
 * to {@link #registerPublicMethods(String, Class)}.
 * @param pClass Class, which is responsible for handling the request.
 */
public void addHandler(String pKey, Class pClass) throws XmlRpcException {
  registerPublicMethods(pKey, pClass);
}
origin: org.apache.xmlrpc/xmlrpc-server

  public RequestProcessorFactory getRequestProcessorFactory(Class pClass)
      throws XmlRpcException {
    final Object processor = getRequestProcessor(pClass);
    return new RequestProcessorFactory(){
      public Object getRequestProcessor(XmlRpcRequest pRequest) throws XmlRpcException {
        return processor;
      }
    };
  }
}
origin: org.apache.xmlrpc/xmlrpc-server

public String[][] getMethodSignature(String pHandlerName) throws XmlRpcException {
  XmlRpcHandler h = getHandler(pHandlerName);
  if (h instanceof XmlRpcMetaDataHandler)
    return ((XmlRpcMetaDataHandler)h).getSignatures();
  throw new XmlRpcNoSuchHandlerException("No metadata available for method: "
      + pHandlerName);
}
org.apache.xmlrpc.server

Most used classes

  • PropertyHandlerMapping
    A handler mapping based on a property file. The property file contains a set of properties. The prop
  • XmlRpcServer
    A multithreaded, reusable XML-RPC server object. The name may be misleading because this does not op
  • AbstractReflectiveHandlerMapping
    Abstract base class of handler mappings, which are using reflection.
  • RequestProcessorFactoryFactory
    The request processor is the object, which is actually performing the request. There is nothing magi
  • XmlRpcServerConfigImpl
    Default implementation of org.apache.xmlrpc.server.XmlRpcServerConfig.
  • RequestProcessorFactoryFactory$RequestProcessorFactory,
  • ReflectiveXmlRpcHandler,
  • RequestProcessorFactoryFactory$RequestSpecificProcessorFactoryFactory,
  • XmlRpcHttpServerConfig,
  • XmlRpcNoSuchHandlerException,
  • ReflectiveXmlRpcHandler$MethodData,
  • RequestProcessorFactoryFactory$StatelessProcessorFactoryFactory,
  • XmlRpcErrorLogger,
  • XmlRpcHandlerMapping,
  • XmlRpcHttpServer,
  • XmlRpcServerWorker,
  • XmlRpcServerWorkerFactory,
  • XmlRpcStreamServer
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