001 /** 002 * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved. 003 * 004 * The contents of this file are subject to the terms of the Liferay Enterprise 005 * Subscription License ("License"). You may not use this file except in 006 * compliance with the License. You can obtain a copy of the License by 007 * contacting Liferay, Inc. See the License for the specific language governing 008 * permissions and limitations under the License, including but not limited to 009 * distribution rights of the Software. 010 * 011 * 012 * 013 */ 014 015 package com.liferay.portal.service.http; 016 017 /** 018 * <p> 019 * This class provides a HTTP utility for the 020 * {@link com.liferay.portal.service.ContactServiceUtil} service utility. The 021 * static methods of this class calls the same methods of the service utility. 022 * However, the signatures are different because it requires an additional 023 * {@link com.liferay.portal.security.auth.HttpPrincipal} parameter. 024 * </p> 025 * 026 * <p> 027 * The benefits of using the HTTP utility is that it is fast and allows for 028 * tunneling without the cost of serializing to text. The drawback is that it 029 * only works with Java. 030 * </p> 031 * 032 * <p> 033 * Set the property <b>tunnel.servlet.hosts.allowed</b> in portal.properties to 034 * configure security. 035 * </p> 036 * 037 * <p> 038 * The HTTP utility is only generated for remote services. 039 * </p> 040 * 041 * @author Brian Wing Shun Chan 042 * @see ContactServiceSoap 043 * @see com.liferay.portal.security.auth.HttpPrincipal 044 * @see com.liferay.portal.service.ContactServiceUtil 045 * @generated 046 */ 047 public class ContactServiceHttp { 048 }