RemoteServiceServlet.loadSerializationPolicy
Code IndexAdd Codota to your IDE (free)

Best Java code snippets using com.google.gwt.user.server.rpc.RemoteServiceServlet.loadSerializationPolicy (Showing top 3 results out of 315)

origin: com.google.gwt/gwt-servlet

/**
 * Loads the {@link SerializationPolicy} for given module base URL and strong name.
 * Returns the policy if successful or null if not found. Due to caching, this method
 * will only be called once for each combination of moduleBaseURL and strongName.</p>
 *
 * <p>The default implementation loads serialization policies stored as servlet resources
 * in the same ServletContext as this servlet.
 *
 * <p>Override this method to load the {@link SerializationPolicy} using an
 * alternative approach.
 * 
 * @param request the HTTP request being serviced
 * @param moduleBaseURL as specified in the incoming payload
 * @param strongName a strong name that uniquely identifies a serialization
 *          policy file
 */
protected SerializationPolicy doGetSerializationPolicy(
  HttpServletRequest request, String moduleBaseURL, String strongName) {
 return RemoteServiceServlet.loadSerializationPolicy(this, request, moduleBaseURL, strongName);
}
origin: com.vaadin.external.gwt/gwt-user

/**
 * Loads the {@link SerializationPolicy} for given module base URL and strong name.
 * Returns the policy if successful or null if not found. Due to caching, this method
 * will only be called once for each combination of moduleBaseURL and strongName.</p>
 *
 * <p>The default implementation loads serialization policies stored as servlet resources
 * in the same ServletContext as this servlet.
 *
 * <p>Override this method to load the {@link SerializationPolicy} using an
 * alternative approach.
 * 
 * @param request the HTTP request being serviced
 * @param moduleBaseURL as specified in the incoming payload
 * @param strongName a strong name that uniquely identifies a serialization
 *          policy file
 */
protected SerializationPolicy doGetSerializationPolicy(
  HttpServletRequest request, String moduleBaseURL, String strongName) {
 return RemoteServiceServlet.loadSerializationPolicy(this, request, moduleBaseURL, strongName);
}
origin: net.wetheinter/gwt-user

/**
 * Loads the {@link SerializationPolicy} for given module base URL and strong name.
 * Returns the policy if successful or null if not found. Due to caching, this method
 * will only be called once for each combination of moduleBaseURL and strongName.</p>
 *
 * <p>The default implementation loads serialization policies stored as servlet resources
 * in the same ServletContext as this servlet.
 *
 * <p>Override this method to load the {@link SerializationPolicy} using an
 * alternative approach.
 * 
 * @param request the HTTP request being serviced
 * @param moduleBaseURL as specified in the incoming payload
 * @param strongName a strong name that uniquely identifies a serialization
 *          policy file
 */
protected SerializationPolicy doGetSerializationPolicy(
  HttpServletRequest request, String moduleBaseURL, String strongName) {
 return RemoteServiceServlet.loadSerializationPolicy(this, request, moduleBaseURL, strongName);
}
com.google.gwt.user.server.rpcRemoteServiceServletloadSerializationPolicy

Javadoc

Loads a serialization policy stored as a servlet resource in the same ServletContext as this servlet. Returns null if not found. (Used by HybridServiceServlet.)

Popular methods of RemoteServiceServlet

  • init
    Overridden to load the gwt.codeserver.port system property.
  • doUnexpectedFailure
  • doGetSerializationPolicy
    Loads the SerializationPolicy for given module base URL and strong name. Returns the policy if succe
  • processCall
    Process a call originating from the given request. This method calls RemoteServiceServlet#checkPermu
  • checkPermutationStrongName
    This method is called by #processCall(String) and will throw a SecurityException if #getPermutationS
  • shouldCompressResponse
    Determines whether the response to a given servlet request should or should not be GZIP compressed.
  • log
  • onAfterResponseSerialized
    Override this method to examine the serialized response that will be returned to the client. The def
  • service
  • destroy
  • getCachedSerializationPolicy
  • getCodeServerPolicyUrl
    Returns a URL for fetching a serialization policy from a Super Dev Mode code server.By default, retu
  • getCachedSerializationPolicy,
  • getCodeServerPolicyUrl,
  • getCodeServerPort,
  • getPermutationStrongName,
  • getServletContext,
  • getThreadLocalRequest,
  • loadPolicyFromCodeServer,
  • onAfterRequestDeserialized,
  • onBeforeRequestDeserialized

Popular in Java

  • Start an intent from android
  • onRequestPermissionsResult (Fragment)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • ImageIO (javax.imageio)
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble

For IntelliJ IDEA,
Android Studio or Eclipse

  • Search for JavaScript code betaCodota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutBlogContact Us
  • Plugin user guideTerms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)