Codota Logo
PortletURL.setSecure
Code IndexAdd Codota to your IDE (free)

How to use
setSecure
method
in
javax.portlet.PortletURL

Best Java code snippets using javax.portlet.PortletURL.setSecure (Showing top 7 results out of 315)

  • Common ways to obtain PortletURL
private void myMethod () {
PortletURL p =
  • Codota IconRenderResponse response;response.createActionURL()
  • Codota IconRenderResponse response;response.createRenderURL()
  • Codota IconMimeResponse mimeResponse;mimeResponse.createActionURL()
  • Smart code suggestions by Codota
}
origin: com.liferay.portal/com.liferay.portal.kernel

@Override
public void setSecure(boolean secure) throws PortletSecurityException {
  _portletURL.setSecure(secure);
}
origin: com.liferay.portal/portal-kernel

public void setSecure(boolean secure) throws PortletSecurityException {
  _portletURL.setSecure(secure);
}
origin: com.opensymphony/webwork

  url.setSecure(true);
} catch (PortletSecurityException e) {
  LOG.error("Cannot set scheme to https", e);
origin: com.github.hazendaz/displaytag

url.setSecure(true);
origin: displaytag/displaytag-portlet

url.setSecure(true);
origin: com.liferay.faces/liferay-faces-bridge-impl

this.wrappedPortletURL.setSecure(secure);
origin: liferay/liferay-faces

this.wrappedPortletURL.setSecure(secure);
javax.portletPortletURLsetSecure

Javadoc

Indicated the security setting for this URL.

Secure set to true indicates that the portlet requests a secure connection between the client and the portlet window for this URL. Secure set to false indicates that the portlet does not need a secure connection for this URL. If the security is not set for a URL, it will stay the same as the current request.

Popular methods of PortletURL

  • setParameter
    Sets the given String array parameter to this URL. This method replaces all parameters with the give
  • setPortletMode
    Indicates the portlet mode the portlet must be in, if this portlet URL triggers a request. A URL can
  • setWindowState
    Indicates the window state the portlet should be in, if this portlet URL triggers a request. A URL c
  • setParameters
    Sets a parameter map for this URL. All previously set parameters are cleared. The PortletURL imple
  • removePublicRenderParameter
    Removes the specified public render parameter. The name must reference a public render parameter def
  • toString
    Returns the portlet URL string representation to be embedded in the markup. Note that the returned S
  • getPortletMode
    Returns the currently set portlet mode on this PortletURL.
  • getWindowState
    Returns the currently set window state on this PortletURL.
  • getParameterMap
  • write
  • addProperty
  • getRenderParameters
  • addProperty,
  • getRenderParameters,
  • setBeanParameter,
  • setProperty,
  • append

Popular in Java

  • Finding current android device location
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • onRequestPermissionsResult (Fragment)
  • getSharedPreferences (Context)
  • Container (java.awt)
    A generic Abstract Window Toolkit(AWT) container object is a component that can contain other AWT co
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
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