com.liferay.portal.kernel.servlet.ReadOnlyServletResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of portal-service Show documentation
Show all versions of portal-service Show documentation
Contains interfaces for the portal services. Interfaces are only loaded by the global class loader and are shared by all plugins.
/**
* Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*/
package com.liferay.portal.kernel.servlet;
import java.util.Locale;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpServletResponseWrapper;
/**
* @author Shuyang Zhou
*/
public class ReadOnlyServletResponse extends HttpServletResponseWrapper {
public ReadOnlyServletResponse(HttpServletResponse response) {
super(response);
}
@Override
public void addCookie(Cookie cookie) {
}
@Override
public void addDateHeader(String name, long value) {
}
@Override
public void addHeader(String name, String value) {
}
@Override
public void addIntHeader(String name, int value) {
}
@Override
public void flushBuffer() {
}
@Override
public void reset() {
}
@Override
public void resetBuffer() {
}
@Override
public void sendError(int status) {
}
@Override
public void sendError(int status, String message) {
}
@Override
public void sendRedirect(String location) {
}
@Override
public void setBufferSize(int bufferSize) {
}
@Override
public void setCharacterEncoding(String characterEncoding) {
}
@Override
public void setContentLength(int contentLength) {
}
@Override
public void setContentType(String contentType) {
}
@Override
public void setDateHeader(String name, long date) {
}
@Override
public void setHeader(String name, String value) {
}
@Override
public void setIntHeader(String name, int value) {
}
@Override
public void setLocale(Locale locale) {
}
@Override
public void setStatus(int status) {
}
@Override
public void setStatus(int status, String message) {
}
}