XmlRpcConfigImpl.java
Go to the documentation of this file.
00001 /*
00002  * Licensed to the Apache Software Foundation (ASF) under one
00003  * or more contributor license agreements.  See the NOTICE file
00004  * distributed with this work for additional information
00005  * regarding copyright ownership.  The ASF licenses this file
00006  * to you under the Apache License, Version 2.0 (the
00007  * "License"); you may not use this file except in compliance
00008  * with the License.  You may obtain a copy of the License at
00009  *
00010  *   http://www.apache.org/licenses/LICENSE-2.0
00011  *
00012  * Unless required by applicable law or agreed to in writing,
00013  * software distributed under the License is distributed on an
00014  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
00015  * KIND, either express or implied.  See the License for the
00016  * specific language governing permissions and limitations
00017  * under the License.    
00018  */
00019 package org.apache.xmlrpc;
00020 
00021 import java.util.TimeZone;
00022 
00023 import org.apache.xmlrpc.common.XmlRpcHttpConfig;
00024 
00025 
00028 public abstract class XmlRpcConfigImpl implements XmlRpcConfig, XmlRpcHttpConfig {
00029         private boolean enabledForExtensions;
00030         private boolean contentLengthOptional;
00031         private String basicEncoding;
00032         private String encoding;
00033     private TimeZone timeZone = TimeZone.getDefault();
00034 
00035         public boolean isEnabledForExtensions() { return enabledForExtensions; }
00036 
00042         public void setEnabledForExtensions(boolean pExtensions) {
00043                 enabledForExtensions = pExtensions;
00044         }
00045 
00050         public void setBasicEncoding(String pEncoding) {
00051                 basicEncoding = pEncoding;
00052         }
00053 
00054         public String getBasicEncoding() { return basicEncoding; }
00055 
00060         public void setEncoding(String pEncoding) {
00061                 encoding = pEncoding;
00062         }
00063 
00064         public String getEncoding() { return encoding; }
00065 
00066         public boolean isContentLengthOptional() {
00067                 return contentLengthOptional;
00068         }
00069 
00075         public void setContentLengthOptional(boolean pContentLengthOptional) {
00076                 contentLengthOptional = pContentLengthOptional;
00077         }
00078 
00079     public TimeZone getTimeZone() {
00080         return timeZone;
00081     }
00082 
00086     public void setTimeZone(TimeZone pTimeZone) {
00087         timeZone = pTimeZone;
00088     }
00089 }


rosjava_core
Author(s):
autogenerated on Wed Aug 26 2015 16:06:49