public class GwtRemoteInspectorImpl extends com.google.gwt.user.server.rpc.RemoteServiceServlet implements GwtRemoteInspector
This servlet recognizes the following <init-param>'s:
config - fully qualified path to (optional) metawidget.xml, for
example com/foo/metawidget.xml.
This Inspector is designed to work 'out of the box' for most cases. However, use of Serializable as a parameter type is not optimal for GWT. We recommend deriving your own interface with your own business-model-specific base class instead.
| Modifier and Type | Class and Description |
|---|---|
protected class |
GwtRemoteInspectorImpl.GwtRemoteInspectorImplPipeline
Use the Pipeline for its Inspector/InspectionResultProcessor support.
|
| Constructor and Description |
|---|
GwtRemoteInspectorImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getConfigInitParameter()
Refactored to support
GwtRemoteInspectorTestImpl. |
void |
init(javax.servlet.ServletConfig servletConfig) |
String |
inspect(Serializable toInspect,
String type,
String[] names)
Inspect the given Serializable/type using server-side processing and return the result.
|
protected GwtRemoteInspectorImpl.GwtRemoteInspectorImplPipeline |
newPipeline()
Instantiate the Pipeline used by this Metawidget.
|
void |
setInspectionResultProcessors(InspectionResultProcessor<GwtRemoteInspectorImpl>... inspectionResultProcessors) |
void |
setInspector(Inspector inspector) |
checkPermutationStrongName, doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponsedoPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContentdoDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic void init(javax.servlet.ServletConfig servletConfig)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletjavax.servlet.ServletExceptionpublic String inspect(Serializable toInspect, String type, String[] names)
inspect in interface GwtRemoteInspectorXmlUtils.nodeToString.
Deserialization should be relatively fast because it is using the browser's native
XmlParser.parse, not JavaScript.public void setInspector(Inspector inspector)
public void setInspectionResultProcessors(InspectionResultProcessor<GwtRemoteInspectorImpl>... inspectionResultProcessors)
protected GwtRemoteInspectorImpl.GwtRemoteInspectorImplPipeline newPipeline()
Subclasses wishing to use their own Pipeline should override this method to instantiate their version.
protected String getConfigInitParameter()
GwtRemoteInspectorTestImpl.Copyright © 2015. All Rights Reserved.